Update action buttons to more closely reflect what they actually do according to the option selected. For example, the game launcher now says "Launch", the -r options now shows "Remove", etc.
This commit is contained in:
@@ -631,6 +631,7 @@ game_installer() {
|
||||
menuList+=("Become a Patron" "Become a Patron")
|
||||
game="$(dialog --backtitle "Audio Game Installer" \
|
||||
--clear \
|
||||
--ok-label "Install" \
|
||||
--no-tags \
|
||||
--menu "Please select a game to install" 0 0 0 "${menuList[@]}" --stdout)"
|
||||
}
|
||||
@@ -649,8 +650,10 @@ game_removal() {
|
||||
done
|
||||
menuList+=("Donate" "Donate")
|
||||
menuList+=("Become a Patron" "Become a Patron")
|
||||
local game="$(dialog --backtitle "Audio Game Removal" \
|
||||
local game
|
||||
game="$(dialog --backtitle "Audio Game Removal" \
|
||||
--clear \
|
||||
--ok-label "Remove" \
|
||||
--no-tags \
|
||||
--menu "Please select a game to delete" 0 0 0 "${menuList[@]}" --stdout)"
|
||||
if [[ ${#game} -gt 0 ]]; then
|
||||
@@ -703,6 +706,7 @@ kill_game() {
|
||||
menuList+=("Become a Patron" "Become a Patron")
|
||||
local game="$(dialog --backtitle "Audio Game Killer" \
|
||||
--clear \
|
||||
--ok-label "Kill" \
|
||||
--no-tags \
|
||||
--menu "Please select a game to force stop" 0 0 0 "${menuList[@]}" --stdout)"
|
||||
if [[ ${#game} -gt 0 ]]; then
|
||||
@@ -746,6 +750,7 @@ game_launcher() {
|
||||
--clear \
|
||||
--extra-button \
|
||||
--extra-label "Documentation" \
|
||||
--ok-label "Launch" \
|
||||
--no-tags \
|
||||
--menu "Please select a game to play" 0 0 0 "${menuList[@]}" --stdout)"
|
||||
local menuCode=$?
|
||||
|
Reference in New Issue
Block a user