From ff42b0314b735b4e67ccb035aa964b15d4478a9c Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 26 Jan 2024 21:37:19 +0100 Subject: [PATCH] Update install.sh --- src/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/install.sh b/src/install.sh index 51aaf93..0b81b3a 100644 --- a/src/install.sh +++ b/src/install.sh @@ -408,7 +408,7 @@ prepareImage() { local iso="$1" local dir="$2" - if [[ "${DETECTED,,}" != "win7x64"* ]]; then + if [[ "${DETECTED,,}" != "win7x64"* ]] && [[ "${BOOT_MODE,,}" == "windows" ]]; then if [ -f "$dir/$ETFS" ] && [ -f "$dir/$EFISYS" ]; then return 0