From 5e303251b2abc1a430be1d2aa263a17cb78ed73f Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Thu, 7 Mar 2024 10:33:21 -0800 Subject: [PATCH] another fix for websites --- NonSteamLaunchers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 109f097..614389f 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -663,7 +663,8 @@ else done # Join the custom_websites array into a string with commas and spaces - custom_websites_str=$(IFS=', '; echo "${custom_websites[*]}") + custom_websites_str=$(printf ", %s" "${custom_websites[@]}") + custom_websites_str=${custom_websites_str:2} # Remove the leading comma and space # Split the custom_websites_str variable back into an array using ',' as the delimiter IFS=', ' read -ra custom_websites <<< "$custom_websites_str"