osInfo() added macOS Tahoe detection

This commit is contained in:
Sebastian Hildebrandt 2025-06-17 06:04:56 +02:00
parent 5ab9de0e15
commit 05bcb8887b
4 changed files with 10 additions and 2 deletions

View File

@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.27.3 | 2025-06-17 | `osInfo()` added macOS Tahoe detection |
| 5.27.2 | 2025-06-16 | `services()` extended matching service names |
| 5.27.1 | 2025-05-24 | `wifiConnections()`, `wifiNetworks()` fix security mode parsing (macOS) |
| 5.27.0 | 2025-05-24 | `mem()` added reclaimable (Linux, macOS) |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.27.3</th>
<td>2025-06-17</td>
<td><span class="code">osInfo()</span> added macOS Tahoe</td>
</tr>
<tr>
<th scope="row">5.27.2</th>
<td>2024-06-16</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>
3<div class="version">New Version: <span id="version">5.27.2</span></div>
3<div class="version">New Version: <span id="version">5.27.3</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">847</div>
<div class="numbers">862</div>
<div class="title">Dependents</div>
</div>
</div>

View File

@ -345,6 +345,8 @@ function osInfo(callback) {
result.codename = (result.release.startsWith('13.') ? 'Ventura' : result.codename);
result.codename = (result.release.startsWith('14.') ? 'Sonoma' : result.codename);
result.codename = (result.release.startsWith('15.') ? 'Sequoia' : result.codename);
result.codename = (result.release.startsWith('16.') ? 'Tahoe' : result.codename);
result.codename = (result.release.startsWith('26.') ? 'Tahoe' : result.codename);
result.uefi = true;
result.codepage = util.getCodepage();
if (callback) {