wifiConnections() fixed when no wifi chip (macOS)

This commit is contained in:
Sebastian Hildebrandt 2023-09-02 18:32:26 +02:00
parent b39c5177ff
commit 8cd06f8acc
4 changed files with 12 additions and 1 deletions

View File

@ -83,6 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
| 5.21.4 | 2023-09-02 | `wifiConnections()` fixed when no wifi chip (macOS) |
| 5.21.3 | 2023-08-31 | `cpuTemperature()` improved parsing for AMD (linux) |
| 5.21.2 | 2023-08-30 | `cpuTemperature()` improved parsing for AMD (linux) |
| 5.21.1 | 2023-08-28 | `graphics()` subVendor fix (linux) |

View File

@ -57,6 +57,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.21.4</th>
<td>2023-09-02</td>
<td><span class="code">wifiConnections()</span> fixed when no wifi chip (macOS)</td>
</tr>
<tr>
<th scope="row">5.21.3</th>
<td>2023-08-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.21.3</span></div>
<div class="version">New Version: <span id="version">5.21.4</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">

View File

@ -598,6 +598,11 @@ function wifiConnections(callback) {
}
resolve(result);
});
} else {
if (callback) {
callback(result);
}
resolve(result);
}
});
} else if (_windows) {