mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
Update install.sh
This commit is contained in:
parent
ffc5de82da
commit
72acddfc45
1 changed files with 6 additions and 7 deletions
|
|
@ -365,14 +365,13 @@ detectImage() {
|
||||||
else
|
else
|
||||||
DETECTED="win10x64-ltsc"
|
DETECTED="win10x64-ltsc"
|
||||||
fi
|
fi
|
||||||
if [[ "$MANUAL" != [Yy1]* ]]; then
|
[[ "$MANUAL" == [Yy1]* ]] && return 0
|
||||||
if [ -f "/run/assets/$DETECTED.xml" ]; then
|
if [ -f "/run/assets/$DETECTED.xml" ]; then
|
||||||
XML="$DETECTED.xml"
|
XML="$DETECTED.xml"
|
||||||
else
|
return 0
|
||||||
warn "image type is '$DETECTED', but no matching XML file exists, $FB."
|
else
|
||||||
fi
|
warn "image type is '$DETECTED', but no matching XML file exists!"
|
||||||
fi
|
fi
|
||||||
return 0
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "Detecting Windows version from ISO image..."
|
info "Detecting Windows version from ISO image..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue