mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-21 22:50:51 +10:00
sys_oatch: Fix prompt logic
This commit is contained in:
@@ -34,6 +34,8 @@
|
|||||||
- AMD: GCN 1 through 3
|
- AMD: GCN 1 through 3
|
||||||
- Raise SIP requirement to 0xA03 for root patching
|
- Raise SIP requirement to 0xA03 for root patching
|
||||||
- Add Ventura Boot Picker icons
|
- 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:
|
- Increment Binaries:
|
||||||
- OpenCorePkg 0.8.3 release
|
- OpenCorePkg 0.8.3 release
|
||||||
- Lilu 1.6.2 - release
|
- Lilu 1.6.2 - release
|
||||||
|
|||||||
@@ -373,11 +373,13 @@ class PatchSysVolume:
|
|||||||
for kext in aux_cache_data["kextsToBuild"]:
|
for kext in aux_cache_data["kextsToBuild"]:
|
||||||
if "bundlePathMainOS" in aux_cache_data["kextsToBuild"][kext]:
|
if "bundlePathMainOS" in aux_cache_data["kextsToBuild"][kext]:
|
||||||
if aux_cache_data["kextsToBuild"][kext]["bundlePathMainOS"] == f"/Library/Extensions/{kext_name}":
|
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
|
return
|
||||||
except PermissionError:
|
except PermissionError:
|
||||||
pass
|
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):
|
def patch_root_vol(self):
|
||||||
print(f"- Running patches for {self.model}")
|
print(f"- Running patches for {self.model}")
|
||||||
if self.patch_set_dictionary != {}:
|
if self.patch_set_dictionary != {}:
|
||||||
|
|||||||
Reference in New Issue
Block a user