graphics() Windows 7 Graphics Fixes (Multi Monitor)

This commit is contained in:
Sebastian Hildebrandt 2020-12-14 20:02:17 +01:00
parent 4a0376227b
commit 21f6273055
4 changed files with 13 additions and 6 deletions

View File

@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 4.31.2 | 2020-12-14 | `graphics()` Windows 7 Graphics Fixes (Multi Monitor) |
| 4.31.1 | 2020-12-11 | `inetLatency()` command injection vulnaribility fix |
| 4.31.0 | 2020-12-06 | `osInfo()` added FQDN |
| 4.30.11 | 2020-12-02 | `cpu()` bug fix speed parsing |

View File

@ -83,9 +83,14 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.31.2</th>
<td>2020-12-14</td>
<td><span class="code">graphics()</span> Windows 7 Graphics Fix (Multi Monitor)</td>
</tr>
<tr>
<th scope="row">4.31.1</th>
<td>2020-12-06</td>
<td>2020-12-11</td>
<td><span class="code">inetLatency()</span> command injection vulnaribility fix</td>
</tr>
<tr>
@ -672,7 +677,8 @@
<th scope="row">4.12.1</th>
<td>2019-06-24</td>
<td><span class="code">networkInterface()</span> virtual interfaces mac OS<br>
<span class="code">networkInterfaceDefault()</span> optimization windows</td>
<span class="code">networkInterfaceDefault()</span> optimization windows
</td>
</tr>
<tr>
<th scope="row">4.12.0</th>

View File

@ -169,7 +169,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.31.1</span></div>
<div class="version">Current Version: <span id="version">4.31.2</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

@ -722,9 +722,9 @@ function graphics(callback) {
if (ssections[i].trim() !== '') {
ssections[i] = 'BitsPerPixel ' + ssections[i];
msections[i] = 'Active ' + msections[i];
// tsections can be empty on earlier versions of powershell (<=2.0). Tag connection type as UNKNOWN
// if this information is missing
if (tsections.length === 0) {
// tsections can be empty OR undefined on earlier versions of powershell (<=2.0)
// Tag connection type as UNKNOWN by default if this information is missing
if (tsections.length === 0 || tsections[i] === undefined) {
tsections[i] = 'Unknown';
}
let linesScreen = ssections[i].split(os.EOL);