From f5e06225a8218275d2f8793b46f512f36ea36977 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 20 Mar 2025 17:39:45 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index e8513e4..c2d423a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -581,8 +581,8 @@ detectImage() { info "Detected: $desc" setXML "" && return 0 - if [[ "${id,,}" == "win8x86"* ]] || [[ "${id,,}" == "win81x86"* ]] \ - || [[ "${id,,}" == "win10x86"* ]] || [[ "${id,,}" == "win11x86"* ]]; then + if [[ "$DETECTED" == "win8x86"* ]] || [[ "$DETECTED" == "win81x86"* ]] \ + || [[ "$DETECTED" == "win10x86"* ]] || [[ "$DETECTED" == "win11x86"* ]]; then error "The 32-bit version of $desc is not supported!" && return 1 fi