mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
Update NonSteamLaunchers.sh
~added space for multiple ids
This commit is contained in:
parent
03b64c8676
commit
45c81f81c6
@ -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")
|
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
|
# 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
|
# Loop over each SteamID
|
||||||
for steamid in $steamids; do
|
for steamid in $steamids; do
|
||||||
|
Loading…
Reference in New Issue
Block a user