From 2e3e624e9d30732cfb40fab485baa75c0e9e451b Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 17 Oct 2023 14:44:23 +0200 Subject: [PATCH] system() raspberry CM4S detection --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 4 ++-- lib/util.js | 3 ++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9ff5e32..c5e07b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.21.12 | 2023-10-17 | `system()` raspberry CM4S detection | | 5.21.11 | 2023-10-05 | `osInfo()` fix getLogoFile (BSD) | | 5.21.10 | 2023-10-04 | `wifiNetworks()` improved parsing (macOS) | | 5.21.9 | 2023-09-25 | `general` code cleanup | diff --git a/docs/history.html b/docs/history.html index 3eb6267..667a419 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@ + + 5.21.12 + 2023-10-17 + system() raspberry CM4S detection + 5.21.11 2023-10-05 diff --git a/docs/index.html b/docs/index.html index 4c896eb..9449066 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.21.11
+
New Version: 5.21.12
@@ -212,7 +212,7 @@
Downloads last month
-
658
+
659
Dependents
diff --git a/lib/util.js b/lib/util.js index f1b8a48..76d4bf0 100644 --- a/lib/util.js +++ b/lib/util.js @@ -976,7 +976,8 @@ function decodePiCpuinfo(lines) { '11': '4B', '12': 'Zero 2 W', '13': '400', - '14': 'CM4' + '14': 'CM4', + '15': 'CM4S' }; const revisionCode = getValue(lines, 'revision', ':', true);