mirror of
https://github.com/dockur/windows.git
synced 2025-10-28 03:45:48 +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"
|
rm -f "$STORAGE/windows.old"
|
||||||
fi
|
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
|
if [[ "$MANUAL" == [Yy1]* ]] || [[ "$aborted" == [Yy1]* ]]; then
|
||||||
[[ "${DETECTED,,}" == "win11"* ]] && BOOT_MODE="windows_secure"
|
[[ "${DETECTED,,}" == "win11"* ]] && BOOT_MODE="windows_secure"
|
||||||
fi
|
fi
|
||||||
|
|
@ -1101,7 +1101,7 @@ bootWindows() {
|
||||||
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
[[ "${creation}" != *"."* ]] && creation="$minimal"
|
||||||
fi
|
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 (( $(echo "$creation < $minimal" | bc -l) )); then
|
||||||
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
|
if [[ "${BOOT_MODE,,}" == "windows" ]]; then
|
||||||
BOOT_MODE="windows_secure"
|
BOOT_MODE="windows_secure"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue