mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-14 19:36:29 +10:00
Enable TeraScale 2 patches by default on desktops
This commit is contained in:
@@ -71,6 +71,12 @@ class OpenCoreLegacyPatcher:
|
||||
if model == "MacBook8,1":
|
||||
# MacBook8,1 has an odd bug where it cannot install Monterey with Minimal spoofing
|
||||
self.constants.serial_settings == "Moderate"
|
||||
if (
|
||||
host_is_target
|
||||
and model not in ["MacBookPro8,2", "MacBookPro8,3"]
|
||||
and self.computer.dgpu
|
||||
and self.computer.dgpu.arch in device_probe.AMD.Archs.TeraScale_2) or self.model in ["Macmini5,2", "iMac12,1", "iMac12,2"]:
|
||||
self.constants.terascale_2_patch == True
|
||||
|
||||
def build_opencore(self):
|
||||
Build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore()
|
||||
|
||||
Reference in New Issue
Block a user