From dffa971dc1d2feacda787cd6c66e3596cc8af980 Mon Sep 17 00:00:00 2001 From: Termuellinator Date: Mon, 2 May 2022 08:27:59 +0200 Subject: [PATCH] quoted lug_logo to avoid zenity bug if space is present in path - issue 36 --- lug-helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lug-helper.sh b/lug-helper.sh index c7c324b..7ee9cee 100755 --- a/lug-helper.sh +++ b/lug-helper.sh @@ -347,9 +347,9 @@ menu() { zen_options+=("${menu_options[i]}") fi done - + # Display the zenity radio button menu - choice="$(zenity --list --radiolist --width="480" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --window-icon=$lug_logo --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)" + choice="$(zenity --list --radiolist --width="480" --height="$menu_height" --text="$menu_text_zenity" --title="Star Citizen LUG Helper" --hide-header --cancel-label "$cancel_label" --window-icon="$lug_logo" --column="" --column="Option" "${zen_options[@]}" 2>/dev/null)" # Loop through the options array to match the chosen option matched="false"