diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 7a78886..99835e6 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -656,8 +656,8 @@ else website=${arg#https://} # Check if the arg is not an empty string before adding it to the custom_websites array - if [ -n "$arg" ]; then - custom_websites+=("$arg") + if [ -n "$website" ]; then + custom_websites+=("$website") fi else selected_launchers+=("$arg")