versions() fix pip, pip3

This commit is contained in:
Sebastian Hildebrandt 2019-07-20 12:13:18 +02:00
parent 14b06043c3
commit 4482dff2a4
4 changed files with 10 additions and 4 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 |
| 4.14.3 | 2019-07-09 | `system()` sku fix windows |
| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN |
| 4.14.1 | 2019-07-04 | `graphics()` added display position windows |

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.14.4</th>
<td>2019-07-20</td>
<td><span class="code">versions()</span> fix pip, pip3</td>
</tr>
<tr>
<th scope="row">4.14.3</th>
<td>2019-07-09</td>

View File

@ -168,7 +168,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span></div>
<div class="version">Current Version: <span id="version">4.14.3</span></div>
<div class="version">Current Version: <span id="version">4.14.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">
@ -199,7 +199,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">166</div>
<div class="numbers">168</div>
<div class="title">Dependends</div>
</div>
</div>

View File

@ -574,7 +574,7 @@ function versions(callback) {
if (!error) {
const pip = stdout.toString().split('\n')[0] || '';
const parts = pip.split(' ');
result.pip = parts.length >= 2 ? parts[2] : '';
result.pip = parts.length >= 2 ? parts[1] : '';
}
functionProcessed();
});
@ -582,7 +582,7 @@ function versions(callback) {
if (!error) {
const pip = stdout.toString().split('\n')[0] || '';
const parts = pip.split(' ');
result.pip3 = parts.length >= 2 ? parts[2] : '';
result.pip3 = parts.length >= 2 ? parts[1] : '';
}
functionProcessed();
});