Skip to content

Commit

Permalink
Fixed Major Library Disappear Bug
Browse files Browse the repository at this point in the history
~reworked code to write to vdf after steam is closed, this was causing library's to "disappear". 

Your games and files are safe, your library is backed up in a file in your config directory called "shortcuts.vdf.bak" if corrupted just change the name to shortcuts.vdf
  • Loading branch information
moraroy authored May 19, 2023
1 parent 7f160c2 commit 9d6874c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions NonSteamLaunchers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ chmod +x "$0"

set -x

version=v2.7
version=v2.71

check_for_updates() {
# Set the URL to the GitHub API for the repository
Expand Down Expand Up @@ -2190,6 +2190,15 @@ fi



# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
rm -rf ~/Downloads/NonSteamLaunchersInstallation


# Detach script from Steam process
nohup sh -c 'sleep 10; /usr/bin/steam' &

# Close all instances of Steam
killall steam &



Expand Down Expand Up @@ -2877,12 +2886,3 @@ with open('$shortcuts_vdf_path', 'wb') as f:



# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
rm -rf ~/Downloads/NonSteamLaunchersInstallation


# Detach script from Steam process
nohup sh -c 'sleep 10; /usr/bin/steam' &

# Close all instances of Steam
killall steam

0 comments on commit 9d6874c

Please sign in to comment.