fix: Check image platform (#1148)

This commit is contained in:
Kroese 2025-03-20 20:11:13 +01:00 committed by GitHub
parent 663a6b5da0
commit 6f604dca8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -581,8 +581,7 @@ detectImage() {
info "Detected: $desc"
setXML "" && return 0
if [[ "$DETECTED" == "win8x86"* ]] || [[ "$DETECTED" == "win81x86"* ]] \
|| [[ "$DETECTED" == "win10x86"* ]] || [[ "$DETECTED" == "win11x86"* ]]; then
if[[ "$DETECTED" == "win81x86"* ]] || [[ "$DETECTED" == "win10x86"* ]]; then
error "The 32-bit version of $desc is not supported!" && return 1
fi