From 7667d408ad3a7a31ec9b7115f10b5652612d25b1 Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Tue, 30 Jan 2024 01:08:13 -0800 Subject: [PATCH] Add files via upload --- NonSteamLaunchers.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index 14372df..c713dc9 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -1217,9 +1217,7 @@ if [ -z "$proton_dir" ]; then # Download specific version of GE-Proton echo "Downloading GE-Proton8-28" cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation" - curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/8-28 | grep browser_download_url | cut -d\" -f4 | grep .tar.gz)" - curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/8-28 | grep browser_download_url | cut -d\" -f4 | grep .sha512sum)" - sha512sum -c ./*.sha512sum + curl -sLOJ "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-28/GE-Proton8-28.tar.gz" tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/" proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1) echo "All done :)" @@ -1230,9 +1228,7 @@ else # Download specific version of GE-Proton echo "Downloading GE-Proton8-28" cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation" - curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/8-28 | grep browser_download_url | cut -d\" -f4 | grep .tar.gz)" - curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/tags/8-28 | grep browser_download_url | cut -d\" -f4 | grep .sha512sum)" - sha512sum -c ./*.sha512sum + curl -sLOJ "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-28/GE-Proton8-28.tar.gz" tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/" proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1) echo "All done :)"