fsSize() fix windows size as number
This commit is contained in:
parent
9c2713105c
commit
aa1c4d14f4
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 4.14.5 | 2019-08-22 | `fsSize()` fix windows result as number |
|
||||||
| 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 |
|
| 4.14.4 | 2019-07-20 | `verions()` fix pip, pip3 |
|
||||||
| 4.14.3 | 2019-07-09 | `system()` sku fix windows |
|
| 4.14.3 | 2019-07-09 | `system()` sku fix windows |
|
||||||
| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN |
|
| 4.14.2 | 2019-07-07 | `networkConnections()` pid linux fix NAN |
|
||||||
|
|||||||
@ -83,6 +83,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">4.14.5</th>
|
||||||
|
<td>2019-08-22</td>
|
||||||
|
<td><span class="code">fsSize()</span> fix windows size as number</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">4.14.4</th>
|
<th scope="row">4.14.4</th>
|
||||||
<td>2019-07-20</td>
|
<td>2019-07-20</td>
|
||||||
|
|||||||
@ -168,7 +168,7 @@
|
|||||||
<img class="logo" src="assets/logo.png">
|
<img class="logo" src="assets/logo.png">
|
||||||
<div class="title">systeminformation</div>
|
<div class="title">systeminformation</div>
|
||||||
<div class="subtitle"><span id="typed"></span></div>
|
<div class="subtitle"><span id="typed"></span></div>
|
||||||
<div class="version">Current Version: <span id="version">4.14.4</span></div>
|
<div class="version">Current Version: <span id="version">4.14.5</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">
|
||||||
@ -199,7 +199,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">168</div>
|
<div class="numbers">184</div>
|
||||||
<div class="title">Dependends</div>
|
<div class="title">Dependends</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -85,7 +85,7 @@ function fsSize(callback) {
|
|||||||
data.push({
|
data.push({
|
||||||
'fs': line[0],
|
'fs': line[0],
|
||||||
'type': line[1],
|
'type': line[1],
|
||||||
'size': line[3],
|
'size': parseInt(line[3]),
|
||||||
'used': parseInt(line[3]) - parseInt(line[2]),
|
'used': parseInt(line[3]) - parseInt(line[2]),
|
||||||
'use': parseFloat((100.0 * (parseInt(line[3]) - parseInt(line[2]))) / parseInt(line[3])),
|
'use': parseFloat((100.0 * (parseInt(line[3]) - parseInt(line[2]))) / parseInt(line[3])),
|
||||||
'mount': line[0]
|
'mount': line[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user