attempted another fix for shortcuts

~added more constraint on the find command
This commit is contained in:
moraroy 2023-05-05 19:23:49 -07:00 committed by GitHub
parent c5c5084ca7
commit 6678d2f369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1319,7 +1319,7 @@ export PYTHONPATH="$download_dir/lib/python3.10/site-packages:$PYTHONPATH"
shortcuts_vdf_path=$(find ~/.steam/root/userdata -type d -name config -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;) shortcuts_vdf_path=$(find ~/.steam/root/userdata -type d -regextype posix-extended -regex '.*/[0-9]{9}/config' -not -path "*/0/*" -not -path "*/anonymous/*" -exec find {} -name shortcuts.vdf \;)
@ -1825,7 +1825,7 @@ with open('$shortcuts_vdf_path', 'wb') as f:
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder # Delete NonSteamLaunchersInstallation subfolder in Downloads folder
rm -rf ~/Downloads/NonSteamLaunchersInstallation #rm -rf ~/Downloads/NonSteamLaunchersInstallation
@ -1837,8 +1837,8 @@ rm -rf ~/Downloads/NonSteamLaunchersInstallation
# Detach script from Steam process # Detach script from Steam process
nohup sh -c 'sleep 10; /usr/bin/steam' & #nohup sh -c 'sleep 10; /usr/bin/steam' &
# Close all instances of Steam # Close all instances of Steam
killall steam #killall steam