From 540c720a84cecae173db5cd81b00cf65f65ae1c4 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Sat, 27 May 2023 01:57:31 -0700 Subject: [PATCH] Update NonSteamLaunchers.sh --- NonSteamLaunchers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 128f6e2..15ad033 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -2080,7 +2080,7 @@ steam_dir="$HOME/.local/share/Steam" # Check if the config.vdf file exists if [[ -f "$steam_dir/config/config.vdf" ]]; then # Get the steamid of the currently logged in user - steamid=$(grep -oP 'SteamID"\s+"\K[0-9]+' "$steam_dir/config/config.vdf") + steamid=$(grep -oP 'SteamID"\s+"\K[0-9]+' "$steam_dir/config/config.vdf" | head -n 1) # Print out the value of steamid for debugging purposes echo "steamid: $steamid"