mirror of
https://github.com/dockur/windows.git
synced 2025-03-30 06:28:37 +01:00
fix: Check image platform (#1148)
This commit is contained in:
parent
663a6b5da0
commit
6f604dca8e
@ -581,8 +581,7 @@ detectImage() {
|
|||||||
info "Detected: $desc"
|
info "Detected: $desc"
|
||||||
setXML "" && return 0
|
setXML "" && return 0
|
||||||
|
|
||||||
if [[ "$DETECTED" == "win8x86"* ]] || [[ "$DETECTED" == "win81x86"* ]] \
|
if[[ "$DETECTED" == "win81x86"* ]] || [[ "$DETECTED" == "win10x86"* ]]; 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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user