mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 07:11:52 +01:00
attempted fix for command line args(websites)
This commit is contained in:
parent
587991e96e
commit
73480fb8eb
@ -662,6 +662,15 @@ else
|
||||
fi
|
||||
done
|
||||
|
||||
# If command line arguments were provided, join the custom websites with commas
|
||||
if [ ${#args[@]} -gt 0 ]; then
|
||||
custom_websites_str=$(IFS=','; echo "${custom_websites[*]}")
|
||||
else
|
||||
custom_websites_str="${custom_websites[@]}"
|
||||
fi
|
||||
|
||||
echo "Custom websites: $custom_websites_str"
|
||||
|
||||
# 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.
|
||||
selected_launchers_str=$(IFS="|"; echo "${selected_launchers[*]}")
|
||||
|
Loading…
Reference in New Issue
Block a user