graphics() improved vendor, model parsing (linux), memLayout() DDR5 detection (windows)

This commit is contained in:
Sebastian Hildebrandt
2023-08-27 21:48:43 +02:00
parent 1e3535fc85
commit a131e11cda
7 changed files with 24 additions and 11 deletions
+4 -3
View File
@@ -204,6 +204,7 @@ function graphics(callback) {
let controllers = [];
let currentController = {
vendor: '',
subvendor: '',
model: '',
bus: '',
busAddress: '',
@@ -292,9 +293,9 @@ function graphics(callback) {
}
}
if (currentController.model && subsystem.indexOf(currentController.model) !== -1) {
const vendor2 = subsystem.split(currentController.model)[0].trim();
if (vendor2) {
currentController.vendor += ', ' + vendor2;
const subvendor = subsystem.split(currentController.model)[0].trim();
if (subvendor) {
currentController.subvendor = subvendor;
}
}
}
+1
View File
@@ -306,6 +306,7 @@ export namespace Systeminformation {
interface GraphicsControllerData {
vendor: string;
subvendor?: string;
vendorId?: string;
model: string;
deviceId?: string;