~ exported variable to PYTHONPATH

~fixed the NonSteamInstallation folder not deleting
This commit is contained in:
moraroy 2023-05-08 15:51:27 -07:00 committed by GitHub
parent 9829393231
commit 5f5658c0c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"