Skip to content

Commit

Permalink
website fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moraroy authored Mar 8, 2024
1 parent 5e30325 commit ef173d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NonSteamLaunchers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ef173d4

Please sign in to comment.