From 5bccb1744895c6e7b01499fb41b6aee67d53fecf Mon Sep 17 00:00:00 2001
From: the-sane <3657071+the-sane@users.noreply.github.com>
Date: Fri, 6 Sep 2024 14:53:17 -0400
Subject: [PATCH] Fix quoting
---
lug-helper.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lug-helper.sh b/lug-helper.sh
index 4ccf3c9..f468fc7 100755
--- a/lug-helper.sh
+++ b/lug-helper.sh
@@ -2478,7 +2478,7 @@ install_game_wine() {
# Copy game launch script to the wine prefix root directory
debug_print continue "Copying game launch script to ${install_dir}..."
cp "$launch_script" "$install_dir"
- installed_launch_script="$install_dir/$(basename $launch_script)"
+ installed_launch_script="$install_dir/$(basename "$launch_script")"
# Update WINEPREFIX in game launch script
sed -i "s|^export WINEPREFIX.*|export WINEPREFIX=$install_dir|" "$install_dir/$(basename "$launch_script")"
@@ -2738,8 +2738,8 @@ if [ "$is_nixos" -eq 1 ]; then
fi
# Set up the main menu heading
-menu_heading_zenity="Greetings, Space Penguin!\n\nThis tool is provided by the Star Citizen Linux Users Group\nFor help, see our wiki: "$lug_wiki""
-menu_heading_terminal="Greetings, Space Penguin!\n\nThis tool is provided by the Star Citizen Linux Users Group\nFor help, see our wiki: "$lug_wiki""
+menu_heading_zenity="Greetings, Space Penguin!\n\nThis tool is provided by the Star Citizen Linux Users Group\nFor help, see our wiki: $lug_wiki"
+menu_heading_terminal="Greetings, Space Penguin!\n\nThis tool is provided by the Star Citizen Linux Users Group\nFor help, see our wiki: $lug_wiki"
# First run
firstrun_message="It looks like this is your first time running the Helper\n\nWould you like to run the Preflight Check and install Star Citizen?"