mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
another fix for websites
This commit is contained in:
parent
e574fbc59f
commit
5e303251b2
@ -663,7 +663,8 @@ else
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Join the custom_websites array into a string with commas and spaces
|
# 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
|
# Split the custom_websites_str variable back into an array using ',' as the delimiter
|
||||||
IFS=', ' read -ra custom_websites <<< "$custom_websites_str"
|
IFS=', ' read -ra custom_websites <<< "$custom_websites_str"
|
||||||
|
Loading…
Reference in New Issue
Block a user