mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
sys_oatch: Fix prompt logic
This commit is contained in:
@@ -34,6 +34,8 @@
|
||||
- AMD: GCN 1 through 3
|
||||
- Raise SIP requirement to 0xA03 for root patching
|
||||
- Add Ventura Boot Picker icons
|
||||
- Implement KDK-less root patching for Metal Intel and Nvidia GPUs
|
||||
- AMD GCN will still require a KDK installed for patching
|
||||
- Increment Binaries:
|
||||
- OpenCorePkg 0.8.3 release
|
||||
- Lilu 1.6.2 - release
|
||||
|
||||
@@ -339,7 +339,7 @@ class PatchSysVolume:
|
||||
|
||||
updated_install_location = str(self.mount_location_data) + "/Library/Extensions"
|
||||
|
||||
print(f"- Adding AuxKC support to {install_file}")
|
||||
print(f" - Adding AuxKC support to {install_file}")
|
||||
plist_path = Path(Path(source_folder_path) / Path(install_file) / Path("Contents/Info.plist"))
|
||||
plist_data = plistlib.load((plist_path).open("rb"))
|
||||
|
||||
@@ -373,11 +373,13 @@ class PatchSysVolume:
|
||||
for kext in aux_cache_data["kextsToBuild"]:
|
||||
if "bundlePathMainOS" in aux_cache_data["kextsToBuild"][kext]:
|
||||
if aux_cache_data["kextsToBuild"][kext]["bundlePathMainOS"] == f"/Library/Extensions/{kext_name}":
|
||||
self.constants.needs_to_open_preferences = True # Notify in GUI to open System Preferences
|
||||
return
|
||||
except PermissionError:
|
||||
pass
|
||||
|
||||
print(f" - {kext_name} requires authentication in System Preferences")
|
||||
self.constants.needs_to_open_preferences = True # Notify in GUI to open System Preferences
|
||||
|
||||
def patch_root_vol(self):
|
||||
print(f"- Running patches for {self.model}")
|
||||
if self.patch_set_dictionary != {}:
|
||||
|
||||
Reference in New Issue
Block a user