mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 18:19:49 +00:00
Standardize index for integrated GPU check
This commit is contained in:
2
Scripts/smbios.py
Normal file → Executable file
2
Scripts/smbios.py
Normal file → Executable file
@@ -66,7 +66,7 @@ class SMBIOS:
|
||||
"Integrated GPU" in list(hardware_report.get("GPU").items())[-1][-1].get("Device Type"):
|
||||
smbios_model = "MacBookPro16,3"
|
||||
|
||||
if "Intel" in list(hardware_report.get("GPU").items())[0][-1].get("Manufacturer") and \
|
||||
if "Intel" in list(hardware_report.get("GPU").items())[-1][-1].get("Manufacturer") and \
|
||||
"Integrated GPU" in list(hardware_report.get("GPU").items())[-1][-1].get("Device Type"):
|
||||
|
||||
codename = list(hardware_report.get("GPU").items())[-1][-1].get("Codename")
|
||||
|
||||
Reference in New Issue
Block a user