We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e35397 commit ded7fb8Copy full SHA for ded7fb8
WhyNotWin11.au3
@@ -58,7 +58,7 @@ Func Main()
58
GUISetState(@SW_SHOW, $hGUI)
59
60
RunWait("powershell -Command $env:firmware_type | Out-File -FilePath .\WhyNot.txt", "", @SW_HIDE)
61
- If Not StringInStr(FileReadLine(".\WhyNot.txt", 1), "Legacy") Then
+ If Not StringInStr(FileRead(".\WhyNot.txt"), "Legacy") Then
62
GUICtrlSetData($hCheck[0][0], "OK")
63
GUICtrlSetBkColor($hCheck[0][0], 0x4CC355)
64
GUICtrlSetData($hCheck[0][2], FileReadLine(".\WhyNot.txt", 1));"Secure Boot Detected as Enabled")
0 commit comments