Update checksum URL extraction logic

Refine checksum URL extraction to exclude aarch64 builds.
This commit is contained in:
Roy
2026-06-24 01:40:13 -07:00
committed by GitHub
parent 08bec00a33
commit 962f6e6a52
+5 -1
View File
@@ -652,7 +652,11 @@ function download_ge_proton() {
}
checksum_url=$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest \
| grep browser_download_url | cut -d\" -f4 | grep .sha512sum)
| grep browser_download_url \
| cut -d\" -f4 \
| grep '\.sha512sum$' \
| grep -v 'aarch64' \
| head -n1)
if [ -z "$checksum_url" ]; then
echo "Failed to get checksum URL. Exiting."