mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-19 13:46:05 +10:00
Fix logic
This commit is contained in:
@@ -226,11 +226,12 @@ def cls():
|
|||||||
global clear
|
global clear
|
||||||
if not clear:
|
if not clear:
|
||||||
return
|
return
|
||||||
if not check_recovery():
|
if check_cli_args() is not None:
|
||||||
os.system("cls" if os.name == "nt" else "clear")
|
# Our GUI does not support clear screen
|
||||||
elif check_cli_args() is not None:
|
if not check_recovery():
|
||||||
print("\u001Bc")
|
os.system("cls" if os.name == "nt" else "clear")
|
||||||
# Our GUI does not support clear screen
|
else:
|
||||||
|
print("\u001Bc")
|
||||||
|
|
||||||
def get_nvram(variable: str, uuid: str = None, *, decode: bool = False):
|
def get_nvram(variable: str, uuid: str = None, *, decode: bool = False):
|
||||||
# TODO: Properly fix for El Capitan, which does not print the XML representation even though we say to
|
# TODO: Properly fix for El Capitan, which does not print the XML representation even though we say to
|
||||||
|
|||||||
Reference in New Issue
Block a user