Working directory might be better suited for somewhere other than ~/Downloads
This commit is contained in:
pythoninthegrass 2023-08-12 13:47:38 -05:00
parent e384e85859
commit afbfc6d2ad

View File

@ -3138,5 +3138,6 @@ if os.path.exists(os.path.join(compatdata_dir, 'NonSteamLaunchers')):
# Create a symbolic link to the renamed NonSteamLaunchers folder
os.symlink(new_path, symlink_path)"
# TODO: might be better to relocate temp files to `/tmp` or even use `mktemp -d` since `rm -rf` is potentially dangerous without the `-i` flag
# Delete NonSteamLaunchersInstallation subfolder in Downloads folder
rm -rf "${logged_in_home}/Downloads/NonSteamLaunchersInstallation"