mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 22:20:53 +10:00
Fix displaypolicyd blocking
This commit is contained in:
Binary file not shown.
Binary file not shown.
+1
-5
@@ -167,11 +167,7 @@ class BuildOpenCore:
|
|||||||
|
|
||||||
if self.model in ["MacBookPro6,1", "MacBookPro6,2", "MacBookPro9,1", "MacBookPro10,1"]:
|
if self.model in ["MacBookPro6,1", "MacBookPro6,2", "MacBookPro9,1", "MacBookPro10,1"]:
|
||||||
# Modded RestrictEvents with displaypolicyd blocked to fix dGPU switching
|
# Modded RestrictEvents with displaypolicyd blocked to fix dGPU switching
|
||||||
if self.model in ["MacBookPro6,1", "MacBookPro6,2", "MacBookPro9,1"]:
|
self.enable_kext("RestrictEvents.kext", self.constants.restrictevents_mbp_version, self.constants.restrictevents_mbp_path)
|
||||||
self.enable_kext("RestrictEvents.kext", self.constants.restrictevents_version, self.constants.restrictevents_path)
|
|
||||||
elif self.constants.serial_settings == "None":
|
|
||||||
# MacBookPro10,1 without SMBIOS spoof needs RestrictEvents
|
|
||||||
self.enable_kext("RestrictEvents.kext", self.constants.restrictevents_version, self.constants.restrictevents_path)
|
|
||||||
|
|
||||||
# Ethernet Patch Sets
|
# Ethernet Patch Sets
|
||||||
if smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Broadcom":
|
if smbios_data.smbios_dictionary[self.model]["Ethernet Chipset"] == "Broadcom":
|
||||||
|
|||||||
Reference in New Issue
Block a user