From ff96d86847e142ac86dda3c9925ba9f386fcfbb0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 8 Sep 2026 18:17:17 +0200 Subject: [PATCH] Update batch.sh --- src/batch.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/batch.sh b/src/batch.sh index 51d8afa3..4e592a50 100644 --- a/src/batch.sh +++ b/src/batch.sh @@ -3163,19 +3163,22 @@ createWin9xSystemImage() { fi local boot_gui=0 - [[ "${id,,}" == "win9x"* ]] && boot_gui=1 + [[ "${id,,}" == "win9x" ]] && boot_gui=1 + + local auto_scan=2 + [[ "${id,,}" == "win95" ]] && auto_scan=0 { printf '%s\n' \ - '[Options]' \ + "[Options]" \ "BootGUI=$boot_gui" \ "BootMenu=0" \ "BootMenuDefault=1" \ "BootWarn=0" \ "BootSafe=0" \ - 'BootDelay=0' \ - 'AutoScan=2' \ - 'Logo=0' \ + "BootDelay=0" \ + "AutoScan=$auto_scan" \ + "Logo=0" \ '' } | unix2dos > "$msdos" || return 1