fix: Improve Windows boot key timing (#2113)

This commit is contained in:
Kroese
2026-08-08 06:27:10 +02:00
committed by GitHub
parent eb2207dff9
commit 6c4e167915
2 changed files with 30 additions and 29 deletions
+5 -5
View File
@@ -658,6 +658,11 @@ needsExtraction() {
local id="$1"
local iso="$2"
# Nested archives must be extracted to expose their contained ISO.
if enabled "${UNPACK:-}"; then
return 0
fi
# Media without unattended support boots directly from the original ISO.
if ! supportsUnattended "$id"; then
return 1
@@ -673,11 +678,6 @@ needsExtraction() {
return 0
fi
# Nested archives must be extracted to expose their contained ISO.
if enabled "${UNPACK:-}"; then
return 0
fi
# Modern bootable ISOs can use the original media with a setup overlay.
return 1
}