From ef173d4057605a0ac03d13a8ed7c3aa0cc762ec6 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Fri, 8 Mar 2024 04:02:35 -0800 Subject: [PATCH] website fix --- NonSteamLaunchers.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 614389f..315f21a 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -663,8 +663,8 @@ else done # Join the custom_websites array into a string with commas and spaces - custom_websites_str=$(printf ", %s" "${custom_websites[@]}") - custom_websites_str=${custom_websites_str:2} # Remove the leading comma and space + custom_websites_str=$(printf "%s, " "${custom_websites[@]}") + custom_websites_str=${custom_websites_str%, } # Split the custom_websites_str variable back into an array using ',' as the delimiter IFS=', ' read -ra custom_websites <<< "$custom_websites_str"