From b9281737ef05fec609f8ffbd0278c0f9d6e22d1e Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Mon, 19 Aug 2024 22:36:06 +0700 Subject: [PATCH] Add platform information for laptops --- Scripts/aida64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/aida64.py b/Scripts/aida64.py index bc5a30b..5ebea5c 100644 --- a/Scripts/aida64.py +++ b/Scripts/aida64.py @@ -71,7 +71,7 @@ class AIDA64: # Extract platform type from chassis information motherboard_info["Platform"] = dmi.get("Chassis", {}).get("Chassis Properties", {}).get("Chassis Type", "Unknown") - if any(word in motherboard_info["Platform"].lower() for word in ["convertible", "notebook", "laptop", "docking station"]): + if any(word in motherboard_info["Platform"].lower() for word in ["convertible", "notebook", "laptop", "docking station", "portable"]): motherboard_info["Platform"] = "Laptop" elif any(word in motherboard_info["Platform"].lower() for word in ["desktop", "mini pc"]): motherboard_info["Platform"] = "Desktop"