mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-11-20 08:09:18 +01:00
Fixed Steam Restart
~fixed Steam Restart ~Script Works in Gaming Mode Now
This commit is contained in:
parent
b9c2d2733a
commit
fb10793b42
@ -5,7 +5,7 @@ chmod +x "$0"
|
||||
set -x
|
||||
|
||||
|
||||
version=v1.3
|
||||
version=v1.4
|
||||
|
||||
check_for_updates() {
|
||||
# Set the URL to the GitHub API for the repository
|
||||
@ -1098,8 +1098,6 @@ elif [[ -f "$legacygames_path2" ]]; then
|
||||
fi
|
||||
|
||||
|
||||
# Close Steam
|
||||
killall steam
|
||||
|
||||
|
||||
|
||||
@ -1566,11 +1564,21 @@ with open('$shortcuts_vdf_path', 'wb') as f:
|
||||
|
||||
|
||||
|
||||
|
||||
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
|
||||
rm -rf ~/Downloads/NonSteamLaunchersInstallation
|
||||
wait
|
||||
sleep 10
|
||||
# Restart Steam
|
||||
/usr/bin/steam
|
||||
exit
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# 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