From 48d8f54223624a3c43db0124d54a274565cd25fa Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Wed, 1 Mar 2023 19:51:42 -0500 Subject: [PATCH] Move wiki link to maintenance menu header --- lug-helper.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index 9a7c959..fdb7df0 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -2096,7 +2096,7 @@ display_dirs() { # Display the LUG Wiki display_wiki() { # Display a message containing the URL - message info "See the Wiki for our Quick-Start Guide, Manual Installation instructions,\nPerformance Tuning, and Common Issues and Solutions:\n\n$lug_wiki" + message info "See the Wiki for our Quick-Start Guide, Troubleshooting,\nand Performance Tuning Recommendations:\n\n$lug_wiki" } # Delete the helper's config directory @@ -2115,9 +2115,9 @@ maintenance_menu() { looping_menu="true" while [ "$looping_menu" = "true" ]; do # Configure the menu - menu_text_zenity="Game Maintenance and Troubleshooting\n\nYou may choose from the following options:" + menu_text_zenity="Game Maintenance and Troubleshooting\n\nLUG Wiki: $lug_wiki\n\nYou may choose from the following options:" menu_text_terminal="Game Maintenance and Troubleshooting\n\nYou may choose from the following options:" - menu_text_height="100" + menu_text_height="140" menu_type="radiolist" # Configure the menu options @@ -2126,14 +2126,13 @@ maintenance_menu() { shaders_msg="Delete my shaders (Do this after each game update)" vidcache_msg="Delete my DXVK cache" dirs_msg="Display Helper and Star Citizen directories" - wiki_msg="Show the LUG Wiki" reset_msg="Reset Helper configs" quit_msg="Return to the main menu" # Set the options to be displayed in the menu - menu_options=("$version_msg" "$userdir_msg" "$shaders_msg" "$vidcache_msg" "$dirs_msg" "$wiki_msg" "$reset_msg" "$quit_msg") + menu_options=("$version_msg" "$userdir_msg" "$shaders_msg" "$vidcache_msg" "$dirs_msg" "$reset_msg" "$quit_msg") # Set the corresponding functions to be called for each of the options - menu_actions=("set_version" "rm_userdir" "rm_shaders" "rm_dxvkcache" "display_dirs" "display_wiki" "reset_helper" "menu_loop_done") + menu_actions=("set_version" "rm_userdir" "rm_shaders" "rm_dxvkcache" "display_dirs" "reset_helper" "menu_loop_done") # Calculate the total height the menu should be menu_height="$(($menu_option_height * ${#menu_options[@]} + $menu_text_height))" @@ -2295,7 +2294,6 @@ eac_workaround() { fi } - # Get a random Penguin's Star Citizen referral code referral_randomizer() { # Populate the referral codes array