osInfo() added macOS Sequoia

This commit is contained in:
Sebastian Hildebrandt 2024-06-10 20:44:08 +02:00
parent 9e1feaba02
commit ec7fa4a411
4 changed files with 10 additions and 3 deletions

View File

@ -83,7 +83,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment | | Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- | | ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.22.9 | 2024-05-31 | `powerShellStart()` fixed kill issue | | 5.22.11 | 2024-06-10 | `osInfo()` added macOS Sequoia |
| 5.22.10 | 2024-05-31 | `powerShellStart()` fixed kill issue |
| 5.22.9 | 2024-05-13 | `memLayout()` fixed typo manufacturer | | 5.22.9 | 2024-05-13 | `memLayout()` fixed typo manufacturer |
| 5.22.8 | 2024-05-05 | `utils()` replaces deprecated util._extend() | | 5.22.8 | 2024-05-05 | `utils()` replaces deprecated util._extend() |
| 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) | | 5.22.7 | 2024-04-02 | `battery()` fixed designed capacity issue (windows) |

View File

@ -57,6 +57,11 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<th scope="row">5.22.11</th>
<td>2024-06-10</td>
<td><span class="code">osInfo()</span> added macOS Sequoia</td>
</tr>
<tr> <tr>
<th scope="row">5.22.10</th> <th scope="row">5.22.10</th>
<td>2024-05-31</td> <td>2024-05-31</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png" alt="logo"> <img class="logo" src="assets/logo.png" alt="logo">
<div class="title">systeminformation</div> <div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div> <div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.22.10</span></div> <div class="version">New Version: <span id="version">5.22.11</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> <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>
<div class="down"> <div class="down">
@ -212,7 +212,7 @@
<div class="title">Downloads last month</div> <div class="title">Downloads last month</div>
</div> </div>
<div class="col-xl-4 col-lg-4 col-md-4 col-12"> <div class="col-xl-4 col-lg-4 col-md-4 col-12">
<div class="numbers">702</div> <div class="numbers">703</div>
<div class="title">Dependents</div> <div class="title">Dependents</div>
</div> </div>
</div> </div>

View File

@ -320,6 +320,7 @@ function osInfo(callback) {
result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename); result.codename = (result.release.startsWith('12.') ? 'macOS Monterey' : result.codename);
result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename); result.codename = (result.release.startsWith('13.') ? 'macOS Ventura' : result.codename);
result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename); result.codename = (result.release.startsWith('14.') ? 'macOS Sonoma' : result.codename);
result.codename = (result.release.startsWith('15.') ? 'macOS Sequoia' : result.codename);
result.uefi = true; result.uefi = true;
result.codepage = util.getCodepage(); result.codepage = util.getCodepage();
if (callback) { if (callback) {