From c1fe61ee2243b58a450bf3385398c86dac9a4d7a Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Tue, 30 Jul 2024 19:21:26 +0700 Subject: [PATCH] SMBIOS MacPro7,1 does not exist in macOS Mojave and earlier versions --- Scripts/efi_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/efi_builder.py b/Scripts/efi_builder.py index f086f47..37ce26d 100755 --- a/Scripts/efi_builder.py +++ b/Scripts/efi_builder.py @@ -253,7 +253,7 @@ class builder: return igpu_properties def system_product_info(self, platform, cpu_manufacturer, processor_name, cpu_codename, cpu_cores, discrete_gpu, igpu_props, macos_version): - product_name = "iMacPro1,1" if self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=12) else "MacPro7,1" + product_name = "iMacPro1,1" if macos_version < 19 or self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, start=12) else "MacPro7,1" if "AMD" in cpu_manufacturer: product_name = "MacBookPro16,3" if "Laptop" in platform else "iMacPro1,1"