mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Update NonSteamLaunchers.sh
This commit is contained in:
parent
76f0e0792a
commit
540c720a84
@ -2080,7 +2080,7 @@ steam_dir="$HOME/.local/share/Steam"
|
|||||||
# Check if the config.vdf file exists
|
# Check if the config.vdf file exists
|
||||||
if [[ -f "$steam_dir/config/config.vdf" ]]; then
|
if [[ -f "$steam_dir/config/config.vdf" ]]; then
|
||||||
# Get the steamid of the currently logged in user
|
# 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
|
# Print out the value of steamid for debugging purposes
|
||||||
echo "steamid: $steamid"
|
echo "steamid: $steamid"
|
||||||
|
Loading…
Reference in New Issue
Block a user