Skip to content

Commit

Permalink
Fix Boot having Fail text when Success
Browse files Browse the repository at this point in the history
  • Loading branch information
rcmaehl authored Jun 24, 2021
1 parent 4c20bd1 commit 005f398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WhyNotWin11.au3
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RunWait("powershell -Command $env:firmware_type | Out-File -FilePath .\WhyNot.tx

$sBOOT = FileRead(".\WhyNot.txt")
$sBOOT = StringStripWS($sBOOT, $STR_STRIPALL)
If Not $sBOOT = "Legacy" Then
If Not StringInStr($sBOOT, "Legacy") Then
$sBOOTText = "Congrats, this value checks out."
Else
$sBOOTText = "BOOT should have a 'UEFI' or 'Secure' result. This means that your computer is using modern and secure code to prevent data tampering during boot. You can adjust this in your motherboard settings after ensuring that your disk below is GPT."
Expand Down

0 comments on commit 005f398

Please sign in to comment.