From 4b20f5c7404991be39be117733ea79eec53a4407 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Sun, 23 Mar 2025 02:00:19 +0700 Subject: [PATCH] Update device classification to include VGA Compatible for display detection --- Scripts/platforms/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/platforms/windows.py b/Scripts/platforms/windows.py index 279a3c3..a12d8a5 100644 --- a/Scripts/platforms/windows.py +++ b/Scripts/platforms/windows.py @@ -66,7 +66,7 @@ class WindowsHardwareInfo: return "Net" elif device_id in pci_data.RealtekCardReaderIDs: return "SDHost" - elif self.utils.contains_any(("Video Controller", "Video Adapter", "Graphics Controller"), device_name) and self.classify_gpu(device_id).get("Codename") != "Unknown": + elif self.utils.contains_any(("Video Controller", "VGA Compatible", "Video Adapter", "Graphics Controller"), device_name): return "Display" return "Unknown"