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,15 +490,16 @@ detectImage() {
|
||||||
[ ! -f "$loc" ] && loc="$dir/sources/install.esd"
|
[ ! -f "$loc" ] && loc="$dir/sources/install.esd"
|
||||||
|
|
||||||
if [ ! -f "$loc" ]; then
|
if [ ! -f "$loc" ]; then
|
||||||
|
|
||||||
if [ -f "$dir/WIN51" ] || [ -f "$dir/SETUPXP.HTM" ]; then
|
if [ -f "$dir/WIN51" ] || [ -f "$dir/SETUPXP.HTM" ]; then
|
||||||
DETECTED="winxpx86"
|
DETECTED="winxpx86"
|
||||||
info "Detected: Windows XP"
|
info "Detected: Windows XP"
|
||||||
return 0
|
return 0
|
||||||
else
|
|
||||||
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB"
|
|
||||||
BOOT_MODE="windows_legacy"
|
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
warn "failed to locate 'install.wim' or 'install.esd' in ISO image, $FB"
|
||||||
|
BOOT_MODE="windows_legacy"
|
||||||
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tag="DISPLAYNAME"
|
tag="DISPLAYNAME"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue