bluetooth() battery() improved enomeration (windows)

This commit is contained in:
Sebastian Hildebrandt 2026-01-01 08:34:33 +01:00
parent ce634eac6e
commit 6e354b0bef
4 changed files with 11 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.28.8 | 2026-01-01 | `bluetooth()` `battery()` improved enomeration (windows) |
| 5.28.7 | 2026-12-31 | `networkInterfaces()` fix wireless speed (linux) |
| 5.28.6 | 2025-12-31 | `npx systeminformation` improved output |
| 5.28.5 | 2025-12-30 | `cpuCurrentSpeed()` fix cpu loop issue |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.28.8</th>
<td>2026-01-01</td>
<td><span class="code">bluetooth()</span> <span class="code">battery()</span> imprved enomeration (windows)</td>
</tr>
<tr>
<th scope="row">5.28.7</th>
<td>2025-12-31</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.28.7</span></div>
<div class="version">New Version: <span id="version">5.28.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">
@ -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">931</div>
<div class="numbers">932</div>
<div class="title">Dependents</div>
</div>
</div>

View File

@ -48,6 +48,9 @@ function parseBluetoothType(str) {
if (str.indexOf('sound') >= 0) {
result = 'Audio';
}
if (str.indexOf('microph') >= 0) {
result = 'Microphone';
}
if (str.indexOf('speaker') >= 0) {
result = 'Speaker';
}