feat: Validate download links

This commit is contained in:
Kroese 2025-10-01 16:56:52 +02:00 committed by GitHub
parent 3d051f3437
commit c78851561f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -317,7 +317,7 @@ download_windows_eval() {
return 1 return 1
fi ;; fi ;;
"arm64" ) "arm64" )
if [[ "${iso_download_link,,}" != *"a64"* ]]; then if [[ "${iso_download_link,,}" != *"a64"* && "${iso_download_link,,}" != *"arm64"* ]]; then
[[ "$DEBUG" == [Yy1]* ]] && echo "Link for ARM platform currently not available!" [[ "$DEBUG" == [Yy1]* ]] && echo "Link for ARM platform currently not available!"
return 1 return 1
fi ;; fi ;;