Update install.sh

This commit is contained in:
Kroese 2024-01-25 13:17:10 +01:00 committed by GitHub
parent 54fc94a765
commit 66fba9ec79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -326,7 +326,14 @@ selectXML() {
local tag result name name2 detected local tag result name name2 detected
XML="" XML=""
[[ "$MANUAL" == [Yy1]* ]] && return 0 if [[ "$MANUAL" == [Yy1]* ]]; then
if [[ "$BASE" == "win7x64"* ]]; then
BOOT_MODE="windows_legacy"
fi
return 0
fi
if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then if [[ "$EXTERNAL" != [Yy1]* ]] && [ -z "$CUSTOM" ]; then
XML="$VERSION.xml" XML="$VERSION.xml"
@ -413,7 +420,7 @@ updateImage() {
return 1 return 1
fi fi
if [[ "$3" == "win7"* ]]; then if [[ "$3" == "win7x64"* ]]; then
ETFS="boot.img" ETFS="boot.img"
BOOT_MODE="windows_legacy" BOOT_MODE="windows_legacy"