mirror of
https://github.com/dockur/windows.git
synced 2025-03-26 03:28:12 +00:00
fix: Check image platform (#1148)
This commit is contained in:
parent
663a6b5da0
commit
6f604dca8e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user