fsSize() fixed missing rw property (windows)
This commit is contained in:
parent
9e3ab2beaf
commit
180f671bb8
@ -82,7 +82,8 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||
| 5.18.7 | 2023-07-25 | `cpu()` added AMD ZEN 4 base frequencies |
|
||||
| 5.18.9 | 2023-07-26 | `fsSize()` fixed missing rw property (windows) |
|
||||
| 5.18.8 | 2023-07-25 | `cpu()` added AMD ZEN 4 base frequencies |
|
||||
| 5.18.7 | 2023-07-12 | `osInfo()` added macOS Sonoma code name (mac OS) |
|
||||
| 5.18.6 | 2023-06-28 | `graphics()` fixed catched errors (mac OS) |
|
||||
| 5.18.5 | 2023-06-26 | `cpu()` fixed parsing (mac OS) |
|
||||
|
||||
@ -57,6 +57,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.18.9</th>
|
||||
<td>2023-07-26</td>
|
||||
<td><span class="code">fsSize()</span> fixed missing rw property (windows)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.18.8</th>
|
||||
<td>2023-07-25</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.18.8</span></div>
|
||||
<div class="version">New Version: <span id="version">5.18.9</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">
|
||||
|
||||
@ -191,7 +191,7 @@ function fsSize(drive, callback) {
|
||||
}
|
||||
if (_windows) {
|
||||
try {
|
||||
const cmd = `Get-WmiObject Win32_logicaldisk | select Caption,FileSystem,FreeSpace,Size ${drive ? '| where -property Caption -eq ' + drive : ''} | fl`;
|
||||
const cmd = `Get-WmiObject Win32_logicaldisk | select Access,Caption,FileSystem,FreeSpace,Size ${drive ? '| where -property Caption -eq ' + drive : ''} | fl`;
|
||||
util.powerShell(cmd).then((stdout, error) => {
|
||||
if (!error) {
|
||||
let devices = stdout.toString().split(/\n\s*\n/);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user