Add a patch to allow booting macOS with unsupported SMBIOS

This commit is contained in:
Hoang Hong Quan
2024-09-29 04:35:07 +07:00
parent 0d7d4fee3e
commit 9a14cd1993
2 changed files with 27 additions and 2 deletions
+4 -1
View File
@@ -88,4 +88,7 @@ mac_devices = [
# MacPro Models
MacDevice("MacPro6,1", "E5-1620 v2", "Ivy Bridge EP", "AMD FirePro D300", "10.9.1", "21.99.99"),
MacDevice("MacPro7,1", "W-3245M", "Cascade Lake-W", "AMD Radeon Pro 580X", "19.0.0")
]
]
def get_mac_device_by_name(name):
return next((mac_device for mac_device in mac_devices if mac_device.name == name), None)