mirror of
https://github.com/dockur/windows.git
synced 2025-10-29 04:05:50 +00:00
Update define.sh
This commit is contained in:
parent
6035149bcb
commit
0e8a1179aa
1 changed files with 1 additions and 3 deletions
|
|
@ -688,11 +688,10 @@ prepareXP() {
|
||||||
|
|
||||||
MACHINE="pc-q35-2.10"
|
MACHINE="pc-q35-2.10"
|
||||||
ETFS="[BOOT]/Boot-NoEmul.img"
|
ETFS="[BOOT]/Boot-NoEmul.img"
|
||||||
[[ "$MANUAL" == [Yy1]* ]] && return 0
|
|
||||||
|
|
||||||
|
[[ "$MANUAL" == [Yy1]* ]] && return 0
|
||||||
configXP "$dir" && return 0
|
configXP "$dir" && return 0
|
||||||
|
|
||||||
error "Failed to generate XP configuration files!"
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -710,7 +709,6 @@ prepareLegacy() {
|
||||||
|
|
||||||
dd "if=$iso" "of=$dir/$ETFS" bs=2048 "count=$len" "skip=$offset" status=none && return 0
|
dd "if=$iso" "of=$dir/$ETFS" bs=2048 "count=$len" "skip=$offset" status=none && return 0
|
||||||
|
|
||||||
error "Failed to extract boot image from ISO!"
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue