Update install.sh

This commit is contained in:
Kroese 2025-03-20 17:39:45 +01:00 committed by GitHub
parent f283e4bdf7
commit f5e06225a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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