mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
fix: Comments
This commit is contained in:
parent
c2084f18ab
commit
f394666330
1 changed files with 2 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ finishInstall() {
|
|||
rm -f "$STORAGE/windows.old"
|
||||
fi
|
||||
|
||||
# Fall back to secure boot when ISO has not been modified
|
||||
# Enable secure boot + TPM on manual installs as Win11 requires
|
||||
if [[ "$MANUAL" == [Yy1]* ]] || [[ "$aborted" == [Yy1]* ]]; then
|
||||
[[ "${DETECTED,,}" == "win11"* ]] && BOOT_MODE="windows_secure"
|
||||
fi
|
||||
|
|
@ -1101,7 +1101,7 @@ bootWindows() {
|
|||
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
||||
fi
|
||||
|
||||
# Force secure boot on installations created prior to v2.14
|
||||
# Force secure boot on installs created prior to v2.14
|
||||
if (( $(echo "$creation < $minimal" | bc -l) )); then
|
||||
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
|
||||
BOOT_MODE="windows_secure"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue