mirror of
https://github.com/dockur/windows.git
synced 2025-04-05 08:22:02 +00:00
Update install.sh
This commit is contained in:
parent
841b2a0ea1
commit
f283e4bdf7
@ -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" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user