Update install.sh

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

View File

@ -581,6 +581,11 @@ detectImage() {
info "Detected: $desc" info "Detected: $desc"
setXML "" && return 0 setXML "" && return 0
if [[ "${id,,}" == "win8x86"* ]] || [[ "${id,,}" == "win81x86"* ]] \
|| [[ "${id,,}" == "win10x86"* ]] || [[ "${id,,}" == "win11x86"* ]]; then
error "The 32-bit version of $desc is not supported!" && return 1
fi
msg="the answer file for $desc was not found ($DETECTED.xml)" msg="the answer file for $desc was not found ($DETECTED.xml)"
local fallback="/run/assets/${DETECTED%%-*}.xml" local fallback="/run/assets/${DETECTED%%-*}.xml"
@ -706,10 +711,6 @@ addDriver() {
warn "no Windows version specified for \"$driver\" driver!" && return 0 warn "no Windows version specified for \"$driver\" driver!" && return 0
fi fi
if [[ "${id,,}" == "win10x86"* ]]; then
error "The 32-bit version of Windows 10 is not supported!" && exit 84
fi
case "${id,,}" in case "${id,,}" in
"win7x86"* ) folder="w7/x86" ;; "win7x86"* ) folder="w7/x86" ;;
"win7x64"* ) folder="w7/amd64" ;; "win7x64"* ) folder="w7/amd64" ;;