mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
different fix
This commit is contained in:
parent
73480fb8eb
commit
e574fbc59f
@ -662,14 +662,13 @@ else
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# If command line arguments were provided, join the custom websites with commas
|
# Join the custom_websites array into a string with commas and spaces
|
||||||
if [ ${#args[@]} -gt 0 ]; then
|
custom_websites_str=$(IFS=', '; echo "${custom_websites[*]}")
|
||||||
custom_websites_str=$(IFS=','; echo "${custom_websites[*]}")
|
|
||||||
else
|
|
||||||
custom_websites_str="${custom_websites[@]}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Custom websites: $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"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: error handling for unbound variable $selected_launchers_str on line 564
|
# TODO: error handling for unbound variable $selected_launchers_str on line 564
|
||||||
# Convert the selected_launchers array to a string by joining its elements with a `|` delimiter.
|
# Convert the selected_launchers array to a string by joining its elements with a `|` delimiter.
|
||||||
|
Loading…
Reference in New Issue
Block a user