mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 06:10:00 +10:00
Test BT patch for 2012 Macs
This commit is contained in:
+2
-2
@@ -588,11 +588,11 @@ class BuildOpenCore:
|
|||||||
|
|
||||||
# Bluetooth Detection
|
# Bluetooth Detection
|
||||||
if not self.constants.custom_model and self.computer.bluetooth_chipset:
|
if not self.constants.custom_model and self.computer.bluetooth_chipset:
|
||||||
if self.computer.bluetooth_chipset in ["BRCM2070 Hub", "BRCM2046 Hub"]:
|
if self.computer.bluetooth_chipset in ["BRCM2070 Hub", "BRCM2046 Hub"] or self.model in ModelArray.ModernGPU:
|
||||||
print("- Fixing Legacy Bluetooth for macOS Monterey")
|
print("- Fixing Legacy Bluetooth for macOS Monterey")
|
||||||
self.enable_kext("BlueToolFixup.kext", self.constants.bluetool_version, self.constants.bluetool_path)
|
self.enable_kext("BlueToolFixup.kext", self.constants.bluetool_version, self.constants.bluetool_path)
|
||||||
self.enable_kext("Bluetooth-Spoof.kext", self.constants.btspoof_version, self.constants.btspoof_path)
|
self.enable_kext("Bluetooth-Spoof.kext", self.constants.btspoof_version, self.constants.btspoof_path)
|
||||||
elif self.model in ModelArray.Bluetooth_BRCM2070 or self.model in ModelArray.Bluetooth_BRCM2046:
|
elif self.model in ModelArray.Bluetooth_BRCM2070 or self.model in ModelArray.Bluetooth_BRCM2046 or self.model in ModelArray.ModernGPU:
|
||||||
print("- Fixing Legacy Bluetooth for macOS Monterey")
|
print("- Fixing Legacy Bluetooth for macOS Monterey")
|
||||||
self.enable_kext("BlueToolFixup.kext", self.constants.bluetool_version, self.constants.bluetool_path)
|
self.enable_kext("BlueToolFixup.kext", self.constants.bluetool_version, self.constants.bluetool_path)
|
||||||
self.enable_kext("Bluetooth-Spoof.kext", self.constants.btspoof_version, self.constants.btspoof_path)
|
self.enable_kext("Bluetooth-Spoof.kext", self.constants.btspoof_version, self.constants.btspoof_path)
|
||||||
|
|||||||
Reference in New Issue
Block a user