mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 11:25:49 +00:00
feat: Added support for Windows 7 x86 (#503)
This commit is contained in:
parent
fb690f2487
commit
b0573664de
4 changed files with 12 additions and 5 deletions
|
|
@ -810,6 +810,12 @@ prepareImage() {
|
|||
local dir="$2"
|
||||
local missing
|
||||
|
||||
case "${DETECTED,,}" in
|
||||
"winxp"* | "winvistax86"* | "win7x86"* )
|
||||
MACHINE="pc-q35-2.10"
|
||||
;;
|
||||
esac
|
||||
|
||||
case "${DETECTED,,}" in
|
||||
"winxp"* )
|
||||
BOOT_MODE="windows_legacy"
|
||||
|
|
@ -847,6 +853,8 @@ updateImage() {
|
|||
local dat="${file/.xml/.dat}"
|
||||
local desc path src loc xml index result
|
||||
|
||||
[[ "${DETECTED,,}" == "winxp"* ]] && return 0
|
||||
|
||||
if [ ! -s "$asset" ] || [ ! -f "$asset" ]; then
|
||||
asset=""
|
||||
if [[ "$MANUAL" != [Yy1]* ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue