system() raspberry CM4S detection

This commit is contained in:
Sebastian Hildebrandt 2023-10-17 14:44:23 +02:00
parent 5a9fe24ac3
commit 2e3e624e9d
4 changed files with 10 additions and 3 deletions

View File

@ -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 |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.21.12</th>
<td>2023-10-17</td>
<td><span class="code">system()</span> raspberry CM4S detection</td>
</tr>
<tr>
<th scope="row">5.21.11</th>
<td>2023-10-05</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.21.11</span></div>
<div class="version">New Version: <span id="version">5.21.12</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">
@ -212,7 +212,7 @@
<div class="title">Downloads last month</div>
</div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">658</div>
<div class="numbers">659</div>
<div class="title">Dependents</div>
</div>
</div>

View File

@ -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);