From 5f5658c0c716f972aa361e24e8f62094fec3afa0 Mon Sep 17 00:00:00 2001 From: moraroy <88516395+moraroy@users.noreply.github.com> Date: Mon, 8 May 2023 15:51:27 -0700 Subject: [PATCH] ~ exported variable to PYTHONPATH ~fixed the NonSteamInstallation folder not deleting --- NonSteamLaunchers.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index b26d3e6..43b0a6a 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -406,7 +406,6 @@ if [[ $options == "Start Fresh" ]]; then unlink & rm -rf "$HOME/.local/share/Steam/steamapps/compatdata/LegacyGamesLauncher" unlink & rm -rf "$HOME/.local/share/Steam/steamapps/compatdata/itchioLauncher" unlink & rm -rf "$HOME/.local/share/Steam/steamapps/compatdata/HumbleGamesLauncher" - rm -rf "~/Downloads/NonSteamLaunchersInstallation" rm -rf "/run/media/mmcblk0p1/NonSteamLaunchers/" rm -rf "/run/media/mmcblk0p1/EpicGamesLauncher/" rm -rf "/run/media/mmcblk0p1/GogGalaxyLauncher/" @@ -418,6 +417,7 @@ if [[ $options == "Start Fresh" ]]; then rm -rf "/run/media/mmcblk0p1/LegacyGamesLauncher/" rm -rf "/run/media/mmcblk0p1/itchioLauncher/" rm -rf "/run/media/mmcblk0p1/HumbleGamesLauncher/" + rm -rf ~/Downloads/NonSteamLaunchersInstallation # Exit the script exit 0 @@ -1623,6 +1623,9 @@ tar -xvf "$download_dir"/setuptools-*.tar.gz -C "$download_dir" # Change to the extracted directory cd "$download_dir"/setuptools-*/ +# Add the installation directory to the PYTHONPATH environment variable +export PYTHONPATH="$download_dir/lib/python3.10/site-packages:$PYTHONPATH" + # Install setuptools python setup.py install --prefix="$download_dir"