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
|
||||
DETECTED="win10x64-ltsc"
|
||||
fi
|
||||
if [[ "$MANUAL" != [Yy1]* ]]; then
|
||||
if [ -f "/run/assets/$DETECTED.xml" ]; then
|
||||
XML="$DETECTED.xml"
|
||||
else
|
||||
warn "image type is '$DETECTED', but no matching XML file exists, $FB."
|
||||
fi
|
||||
[[ "$MANUAL" == [Yy1]* ]] && return 0
|
||||
if [ -f "/run/assets/$DETECTED.xml" ]; then
|
||||
XML="$DETECTED.xml"
|
||||
return 0
|
||||
else
|
||||
warn "image type is '$DETECTED', but no matching XML file exists!"
|
||||
fi
|
||||
return 0
|
||||
fi
|
||||
|
||||
info "Detecting Windows version from ISO image..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue