Skip to content

Commit

Permalink
system() raspberry CM4S detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Oct 17, 2023
1 parent 5a9fe24 commit 2e3e624
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
5 changes: 5 additions & 0 deletions docs/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ <h3>Full version history</h3>
</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>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2e3e624

Please sign in to comment.