Update batch.sh

This commit is contained in:
Kroese
2026-09-08 18:17:17 +02:00
committed by GitHub
parent 863dde3ae1
commit ff96d86847
+8 -5
View File
@@ -3163,19 +3163,22 @@ createWin9xSystemImage() {
fi fi
local boot_gui=0 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' \ printf '%s\n' \
'[Options]' \ "[Options]" \
"BootGUI=$boot_gui" \ "BootGUI=$boot_gui" \
"BootMenu=0" \ "BootMenu=0" \
"BootMenuDefault=1" \ "BootMenuDefault=1" \
"BootWarn=0" \ "BootWarn=0" \
"BootSafe=0" \ "BootSafe=0" \
'BootDelay=0' \ "BootDelay=0" \
'AutoScan=2' \ "AutoScan=$auto_scan" \
'Logo=0' \ "Logo=0" \
'' ''
} | unix2dos > "$msdos" || return 1 } | unix2dos > "$msdos" || return 1