mirror of
https://github.com/dockur/windows.git
synced 2026-08-24 15:48:59 +01:00
fix: Improve Windows boot key timing (#2113)
This commit is contained in:
+5
-5
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user