mirror of
https://github.com/outbackdingo/OpCore-Simplify.git
synced 2026-01-27 18:19:49 +00:00
Add platform information for laptops
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user