Increment OpenCore

This commit is contained in:
Mykola Grymalyuk
2021-03-27 13:12:18 -06:00
parent c32a3d89e9
commit 19e43d2850
7 changed files with 77 additions and 2 deletions

View File

@@ -152,6 +152,7 @@ class BuildOpenCore:
if self.model in ModelArray.pciSSDT:
print("- Adding SSDT-CPBG.aml")
self.get_item_by_kv(self.config["ACPI"]["Add"], "Path", "SSDT-CPBG.aml")["Enabled"] = True
shutil.copy(self.constants.pci_ssdt_path, self.constants.acpi_path)
# USB Map
usb_map_path = Path(self.constants.current_path) / Path(f"payloads/Kexts/Plists/AppleUSBMaps/Info.plist")