From 6156b699b07a5b7c018275411de108f2a9142601 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Wed, 11 Sep 2024 15:35:50 +0700 Subject: [PATCH] Add missing "Instruction Set" field to hardware information --- Scripts/efi_builder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/efi_builder.py b/Scripts/efi_builder.py index d1a9801..39fb9ac 100644 --- a/Scripts/efi_builder.py +++ b/Scripts/efi_builder.py @@ -397,6 +397,7 @@ class builder: hardware_shorc["Processor Name"] = hardware["CPU"].get("Processor Name") hardware_shorc["CPU Cores"] = hardware["CPU"].get("CPU Cores") hardware_shorc["CPU Codename"] = hardware["CPU"].get("CPU Codename") + hardware_shorc["Instruction Set"] = hardware["CPU"].get("Instruction Set") hardware_shorc["Integrated GPU"] = list(hardware.get("GPU").items())[-1][1] if "Integrated GPU" in list(hardware.get("GPU").items())[-1][1]["Device Type"] else {} hardware_shorc["Integrated GPU Name"] = list(hardware.get("GPU").keys())[-1] if hardware_shorc["Integrated GPU"] else "" hardware_shorc["Discrete GPU"] = list(hardware.get("GPU").items())[0][1].copy() if "Discrete GPU" in list(hardware.get("GPU").items())[0][1]["Device Type"] else {}