Don't crash when showing Secure Boot alerts
This commit is contained in:
parent
e3d62eab15
commit
4c0596b2df
2 changed files with 10 additions and 2 deletions
|
|
@ -121,7 +121,11 @@ if __name__ == '__main__':
|
||||||
sleep(3)
|
sleep(3)
|
||||||
try_and_print(message='Running XMPlay...',
|
try_and_print(message='Running XMPlay...',
|
||||||
function=run_xmplay, cs='Started', other_results=other_results)
|
function=run_xmplay, cs='Started', other_results=other_results)
|
||||||
check_secure_boot_status(show_alert=True)
|
try:
|
||||||
|
check_secure_boot_status(show_alert=True)
|
||||||
|
except:
|
||||||
|
# Only trying to open alert message boxes
|
||||||
|
pass
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
print_standard('\nDone.')
|
print_standard('\nDone.')
|
||||||
|
|
|
||||||
|
|
@ -95,7 +95,11 @@ if __name__ == '__main__':
|
||||||
sleep(3)
|
sleep(3)
|
||||||
try_and_print(message='Running XMPlay...',
|
try_and_print(message='Running XMPlay...',
|
||||||
function=run_xmplay, cs='Started', other_results=other_results)
|
function=run_xmplay, cs='Started', other_results=other_results)
|
||||||
check_secure_boot_status(show_alert=True)
|
try:
|
||||||
|
check_secure_boot_status(show_alert=True)
|
||||||
|
except:
|
||||||
|
# Only trying to open alert message boxes
|
||||||
|
pass
|
||||||
|
|
||||||
# Done
|
# Done
|
||||||
print_standard('\nDone.')
|
print_standard('\nDone.')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue