quoted lug_logo to avoid zenity bug if space is present in path - issue 36

This commit is contained in:
Termuellinator 2022-05-02 08:27:59 +02:00
parent fe1733542d
commit dffa971dc1

View File

@ -347,9 +347,9 @@ menu() {
zen_options+=("${menu_options[i]}") zen_options+=("${menu_options[i]}")
fi fi
done done
# Display the zenity radio button menu # 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 # Loop through the options array to match the chosen option
matched="false" matched="false"