versions() fixed bun and deno
This commit is contained in:
parent
f97cd5de1c
commit
67148f076f
@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||
| 5.24.1 | 2024-12-31 | `versions()` fixed deno and bun |
|
||||
| 5.24.0 | 2024-12-31 | `versions()` added deno and bun |
|
||||
| 5.23.25 | 2024-12-30 | `system()` adapted model and version (macOS) |
|
||||
| 5.23.24 | 2024-12-29 | `osInfo()` improved logofile detection |
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.24.1</th>
|
||||
<td>2024-12-31</td>
|
||||
<td><span class="code">versions()</span> fixed deno and bun</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.24.0</th>
|
||||
<td>2024-12-31</td>
|
||||
|
||||
@ -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> </div>
|
||||
<div class="version">New Version: <span id="version">5.24.0</span></div>
|
||||
<div class="version">New Version: <span id="version">5.24.1</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">
|
||||
|
||||
@ -1033,7 +1033,7 @@ function versions(apps, callback) {
|
||||
exec('bun -v', function (error, stdout) {
|
||||
if (!error) {
|
||||
const line = stdout.toString().split('\n')[0].trim();
|
||||
appsObj.versions.fish = line;
|
||||
appsObj.versions.bun = line;
|
||||
}
|
||||
functionProcessed();
|
||||
});
|
||||
@ -1044,7 +1044,7 @@ function versions(apps, callback) {
|
||||
const line = stdout.toString().split('\n')[0].trim();
|
||||
const parts = line.split(' ');
|
||||
if (parts.length > 1) {
|
||||
appsObj.versions.fish = parts[1];
|
||||
appsObj.versions.deno = parts[1];
|
||||
}
|
||||
}
|
||||
functionProcessed();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user