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:
stormdragon2976
2023-03-30 22:26:02 -04:00
parent 983d8d3934
commit 5d286cc09d
2 changed files with 6 additions and 75 deletions

View File

@@ -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=$?