From 2d413b0914d8104207f5025289f0892da43840f8 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Thu, 26 Aug 2021 11:56:00 +0200 Subject: [PATCH] graphics() added display vendors (macOS) --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/graphics.js | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4d5886..c6ed876 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 5.8.4 | 2021-08-26 | `graphics()` added vendor (macOS) | | 5.8.3 | 2021-08-26 | `graphics()` fix empty controller (macOS) | | 5.8.2 | 2021-08-24 | `baseboard()`, `getDefaultNetworkInterface()` fix catch error | | 5.8.1 | 2021-08-24 | `battery()` fix capacity | diff --git a/docs/history.html b/docs/history.html index 36a76f9..a1c541d 100644 --- a/docs/history.html +++ b/docs/history.html @@ -56,6 +56,11 @@ + + 5.8.4 + 2021-08-26 + graphics() added vendor (macOS) + 5.8.3 2021-08-26 diff --git a/docs/index.html b/docs/index.html index 5afd7aa..8712129 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.8.3
+
New Version: 5.8.4
diff --git a/lib/graphics.js b/lib/graphics.js index 414ccde..92e3f76 100644 --- a/lib/graphics.js +++ b/lib/graphics.js @@ -63,6 +63,7 @@ function getVendorFromModel(model) { { pattern: '^ASUS.+', manufacturer: 'Asus' }, { pattern: '^DELL.+', manufacturer: 'Dell' }, { pattern: '^SAMSUNG.+', manufacturer: 'Samsung' }, + { pattern: '^VIEWSON.+', manufacturer: 'ViewSonic' }, { pattern: '^SONY.+', manufacturer: 'Sony' }, { pattern: '^ACER.+', manufacturer: 'Acer' }, { pattern: '^AOC.+', manufacturer: 'AOC Monitors' },