mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
feat: Support older Windows versions
This commit is contained in:
parent
82ad512dca
commit
a85d62bf5a
1 changed files with 2 additions and 0 deletions
|
|
@ -266,6 +266,7 @@ extractImage() {
|
||||||
warn "failed to locate file 'efisys_noprompt.bin' in ISO image, $FB"
|
warn "failed to locate file 'efisys_noprompt.bin' in ISO image, $FB"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
BOOT_MODE="windows_legacy"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -342,6 +343,7 @@ selectXML() {
|
||||||
warn "failed to detect Windows version from image, $FB"
|
warn "failed to detect Windows version from image, $FB"
|
||||||
else
|
else
|
||||||
if [[ "${name,,}" == "windows 7" ]]; then
|
if [[ "${name,,}" == "windows 7" ]]; then
|
||||||
|
BOOT_MODE="windows_legacy"
|
||||||
warn "detected Windows 7 image, $FB"
|
warn "detected Windows 7 image, $FB"
|
||||||
else
|
else
|
||||||
warn "failed to detect Windows version from string '$name', $FB"
|
warn "failed to detect Windows version from string '$name', $FB"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue