From 1a9544bc637d6a3fc13b03fd295e067db5fda60c Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Mon, 17 Aug 2020 22:05:34 -0400 Subject: [PATCH] Quit menu option isn't needed, just click the cancel button --- lug-helper.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index efc351b..a80b7da 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -73,7 +73,7 @@ message() { # main menu radio list # call format: message 5 "TRUE" "List item 1" "FALSE" "List item 2" "FALSE" "List item 3" # IMPORTANT: Adjust the height value below based on the number of items listed in the menu - margs=("--list" "--radiolist" "--height=240" "--text=Welcome, fellow Penguin, to the Star Citizen LUG Helper!\n\nThis helper is designed to help optimize your system for Star Citizen\n\nYou may choose from the following options:" "--hide-header" "--column=" "--column=Option") + margs=("--list" "--radiolist" "--height=290" "--text=Welcome, fellow Penguin, to the Star Citizen LUG Helper!\n\nThis helper is designed to help optimize your system for Star Citizen\n\nYou may choose from the following options:" "--hide-header" "--column=" "--column=Option") ;; *) echo -e "Invalid message format.\n\nThe message function expects a numerical argument followed by string arguments.\n" @@ -498,7 +498,7 @@ main_menu() { # Use Zenity if it is available if [ "$has_zen" -eq 1 ]; then - options_main=("TRUE" "$mapcount" "FALSE" "$clean" "FALSE" "$shaders" "FALSE" "$vidcache" "FALSE" "$changever" "FALSE" "$quit") + options_main=("TRUE" "$mapcount" "FALSE" "$clean" "FALSE" "$shaders" "FALSE" "$vidcache" "FALSE" "$changever") choice="$(message 5 "${options_main[@]}")" case "$choice" in @@ -526,9 +526,6 @@ main_menu() { live_or_ptu="LIVE" fi ;; - "$quit") - exit 0 - ;; *) exit 0 ;;