Skip to content

Commit ded7fb8

Browse files
committed
Actually Patch Boot check
1 parent 1e35397 commit ded7fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WhyNotWin11.au3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Func Main()
5858
GUISetState(@SW_SHOW, $hGUI)
5959

6060
RunWait("powershell -Command $env:firmware_type | Out-File -FilePath .\WhyNot.txt", "", @SW_HIDE)
61-
If Not StringInStr(FileReadLine(".\WhyNot.txt", 1), "Legacy") Then
61+
If Not StringInStr(FileRead(".\WhyNot.txt"), "Legacy") Then
6262
GUICtrlSetData($hCheck[0][0], "OK")
6363
GUICtrlSetBkColor($hCheck[0][0], 0x4CC355)
6464
GUICtrlSetData($hCheck[0][2], FileReadLine(".\WhyNot.txt", 1));"Secure Boot Detected as Enabled")

0 commit comments

Comments
 (0)