Skip to content

Commit

Permalink
system() added Raspberry 500 detection
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhildebrandt committed Dec 10, 2024
1 parent efcb478 commit dc6474f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.23.8 | 2024-12-10 | `system()` added Raspberry 500 detection |
| 5.23.7 | 2024-12-09 | `networkInterfaces()` sanitizing SSID names (windows) |
| 5.23.6 | 2024-12-08 | `system()` added Raspberry CM5 detection |
| 5.23.5 | 2024-08-21 | `processLoad()` fixed * process list (linux) |
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.23.8</th>
<td>2024-12-10</td>
<td><span class="code">system()</span> added Raspberry 500 detection</td>
</tr>
<tr>
<th scope="row">5.23.7</th>
<td>2024-12-09</td>
Expand Down
2 changes: 1 addition & 1 deletion 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.23.7</span></div>
<div class="version">New Version: <span id="version">5.23.8</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
6 changes: 3 additions & 3 deletions lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1020,9 +1020,9 @@ function decodePiCpuinfo(lines) {
'15': 'CM4S',
'16': 'Internal use only',
'17': '5',
'18': 'CM5 (EMMC)',
'19': 'Internal use only',
'1a': 'CM5 (Lite)',
'18': 'CM5',
'19': '500',
'1a': 'CM5 Lite',
};

const revisionCode = getValue(lines, 'revision', ':', true);
Expand Down

0 comments on commit dc6474f

Please sign in to comment.