Add files via upload

This commit is contained in:
Roy 2024-01-30 01:08:13 -08:00 committed by GitHub
parent 9dcd7dbf65
commit 7667d408ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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