Update install.sh

This commit is contained in:
Kroese 2024-05-10 16:57:33 +02:00 committed by GitHub
parent c674d53ac7
commit f3ff020163
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,6 +134,7 @@ finishInstall() {
if [[ "${PLATFORM,,}" == "x64" ]]; then
if [[ "${BOOT_MODE,,}" == "windows_legacy" ]]; then
BOOT_INDEX="1"
echo "$BOOT_MODE" > "$STORAGE/windows.mode"
if [[ "${MACHINE,,}" != "q35" ]]; then
echo "$MACHINE" > "$STORAGE/windows.old"