From afbfc6d2ad54c2b08a8e1fc1f4f8a663fe42759c Mon Sep 17 00:00:00 2001 From: pythoninthegrass <4097471+pythoninthegrass@users.noreply.github.com> Date: Sat, 12 Aug 2023 13:47:38 -0500 Subject: [PATCH] Add TODO Working directory might be better suited for somewhere other than ~/Downloads --- NonSteamLaunchers.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 659b7e9..c776b36 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -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"