From 45c81f81c6f9e14b23db89ca82bae0a304cab2da Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:32:33 -0800 Subject: [PATCH] Update NonSteamLaunchers.sh ~added space for multiple ids --- NonSteamLaunchers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index a6009da..3559b5f 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -2561,7 +2561,7 @@ if [[ -f "${logged_in_home}/.steam/root/config/loginusers.vdf" ]]; then most_recent_user=$(sed -n '/"users"/,/"MostRecent" "1"/p' "${logged_in_home}/.steam/root/config/loginusers.vdf") # Extract the SteamIDs from the block of text for the most recent user - steamids=$(echo "$most_recent_user" | grep -o '[0-9]\{17\}') + steamids=$(echo "$most_recent_user" | grep -o '[0-9]\{17\}' | tr '\n' ' ') # Loop over each SteamID for steamid in $steamids; do