mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 16:19:19 +01:00
Fixed Major Library Disappear Bug
~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
This commit is contained in:
parent
7f160c26eb
commit
9d6874c559
@ -4,7 +4,7 @@ chmod +x "$0"
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
version=v2.7
|
version=v2.71
|
||||||
|
|
||||||
check_for_updates() {
|
check_for_updates() {
|
||||||
# Set the URL to the GitHub API for the repository
|
# Set the URL to the GitHub API for the repository
|
||||||
@ -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 &
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user