Fix build crashing on iMac7,1

This commit is contained in:
Mykola Grymalyuk
2021-04-21 21:55:09 -06:00
parent 349bdb2936
commit 7680c20221
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ class BuildOpenCore:
# USB Map
usb_map_path = Path(self.constants.plist_folder_path) / Path("AppleUSBMaps/Info.plist")
# iMac7,1 kernel panics with USB map installed, remove for time being until properly debugged
if usb_map_path.exists() and self.model != "iMac7,1":
if usb_map_path.exists():
print(f"- Adding USB-Map.kext")
Path(self.constants.map_kext_folder).mkdir()
Path(self.constants.map_contents_folder).mkdir()