mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-24 03:50:14 +10:00
Fix CLI when no patches are required
This commit is contained in:
@@ -486,16 +486,16 @@ class PatchSysVolume:
|
|||||||
print("- Starting Patch Process")
|
print("- Starting Patch Process")
|
||||||
print(f"- Determinging Required Patch set for Darwin {self.constants.detected_os}")
|
print(f"- Determinging Required Patch set for Darwin {self.constants.detected_os}")
|
||||||
self.detect_patch_set()
|
self.detect_patch_set()
|
||||||
if self.no_patch is False and self.constants.gui_mode is False:
|
if self.no_patch is True:
|
||||||
change_menu = input("Would you like to continue with Root Volume Patching?(y/n): ")
|
|
||||||
elif self.constants.gui_mode is True:
|
|
||||||
change_menu = "y"
|
|
||||||
print("Continuing root patching")
|
|
||||||
else:
|
|
||||||
change_menu = None
|
change_menu = None
|
||||||
print("- No Root Patches required for your machine!")
|
print("- No Root Patches required for your machine!")
|
||||||
if self.constants.gui_mode is False:
|
if self.constants.gui_mode is False:
|
||||||
input("\nPress [ENTER] to return to the main menu: ")
|
input("\nPress [ENTER] to return to the main menu: ")
|
||||||
|
elif self.constants.gui_mode is False:
|
||||||
|
change_menu = input("Would you like to continue with Root Volume Patching?(y/n): ")
|
||||||
|
else:
|
||||||
|
change_menu = "y"
|
||||||
|
print("Continuing root patching")
|
||||||
if change_menu in ["y", "Y"]:
|
if change_menu in ["y", "Y"]:
|
||||||
print("- Continuing with Patching")
|
print("- Continuing with Patching")
|
||||||
print("- Verifying whether Root Patching possible")
|
print("- Verifying whether Root Patching possible")
|
||||||
|
|||||||
Reference in New Issue
Block a user