Browse Source

fix: Check image platform (#1148)

Kroese 3 months ago
parent
commit
6f604dca8e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/install.sh

+ 1 - 2
src/install.sh

@@ -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