mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
Update install.sh
This commit is contained in:
parent
846dd0581b
commit
214a9f9f6f
1 changed files with 5 additions and 4 deletions
|
|
@ -490,16 +490,17 @@ detectImage() {
|
|||
[ ! -f "$loc" ] && loc="$dir/sources/install.esd"
|
||||
|
||||
if [ ! -f "$loc" ]; then
|
||||
|
||||
if [ -f "$dir/WIN51" ] || [ -f "$dir/SETUPXP.HTM" ]; then
|
||||
DETECTED="winxpx86"
|
||||
info "Detected: Windows XP"
|
||||
return 0
|
||||
else
|
||||
fi
|
||||
|
||||
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB"
|
||||
BOOT_MODE="windows_legacy"
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
|
||||
tag="DISPLAYNAME"
|
||||
result=$(wimlib-imagex info -xml "$loc" | tr -d '\000')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue