mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 14:40:52 +10:00
Fix exit
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
# Handle misc CLI menu options
|
# Handle misc CLI menu options
|
||||||
# Copyright (C) 2020-2021, Dhinak G, Mykola Grymalyuk
|
# Copyright (C) 2020-2021, Dhinak G, Mykola Grymalyuk
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
import sys
|
||||||
|
|
||||||
from resources import constants, install, utilities, defaults, sys_patch, installer
|
from resources import constants, install, utilities, defaults, sys_patch, installer
|
||||||
from data import cpu_data, smbios_data, model_array, os_data
|
from data import cpu_data, smbios_data, model_array, os_data
|
||||||
@@ -1114,7 +1115,7 @@ to your USB drive.
|
|||||||
input("Press enter to return to the previous.")
|
input("Press enter to return to the previous.")
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
exit()
|
sys.exit()
|
||||||
|
|
||||||
def closing_message(self):
|
def closing_message(self):
|
||||||
utilities.cls()
|
utilities.cls()
|
||||||
@@ -1126,7 +1127,7 @@ to your USB drive.
|
|||||||
print("\n\tGuide: https://dortania.github.io/OpenCore-Legacy-Patcher/")
|
print("\n\tGuide: https://dortania.github.io/OpenCore-Legacy-Patcher/")
|
||||||
print("\tDiscord: https://discord.gg/rqdPgH8xSN")
|
print("\tDiscord: https://discord.gg/rqdPgH8xSN")
|
||||||
input("\nPress enter to exit: ")
|
input("\nPress enter to exit: ")
|
||||||
exit()
|
sys.exit()
|
||||||
|
|
||||||
big_sur = """Patches Root volume to fix misc issues such as:
|
big_sur = """Patches Root volume to fix misc issues such as:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user