Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
updated docs
  • Loading branch information
sebhildebrandt committed Feb 12, 2021
1 parent 469a761 commit 91b56e8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -72,6 +72,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.

| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.3.0 | 2020-02-12 | `osInfo()` added remoteSession (windows) |
| 5.2.7 | 2020-02-12 | `fsStats()`, `blockDevices()` improved linux |
| 5.2.6 | 2020-02-12 | `inetLatency()` fixed possible DOS intrusion |
| 5.2.5 | 2020-02-11 | `processes()` fixed truncated params (linux) |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -102,6 +102,7 @@ si.cpu()

(last 7 major and minor version releases)

- Version 5.3.0: `osInfo()` added remoteSession (win only)
- Version 5.2.0: `wifiInterfaces()` and `wifiConnections()` added
- Version 5.1.0: `memLayout()` added ECC flag, `bios()` added language, features (linux)
- Version 5.0.0: new version 5 - attention there are some breaking changes. See [detailed version 5 changes here][changes5-url].
Expand Down Expand Up @@ -325,6 +326,7 @@ Full function reference with examples can be found at [https://systeminformation
| | servicepack | | | | X | | service pack version |
| | uefi | X | X | X | X | | OS started via UEFI |
| | hypervisor | | | | X | | hyper-v enabled? (win only) |
| | remoteSession | | | | X | | runs in remote session (win only) |
| si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs |
| | os | X | X | X | X | | os specific UUID |
| | hardware | X | X | X | X | | hardware specific UUID |
Expand Down
5 changes: 5 additions & 0 deletions docs/history.html
Expand Up @@ -56,6 +56,11 @@ <h3>Full version history</h3>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.3.0</th>
<td>2020-02-12</td>
<td><span class="code">osInfo()</span> added remoteSession (windows)</td>
</tr>
<tr>
<th scope="row">5.2.7</th>
<td>2020-02-12</td>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.2.7</span></div>
<div class="version">New Version: <span id="version">5.3.0</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">
Expand Down
10 changes: 10 additions & 0 deletions docs/os.html
Expand Up @@ -226,6 +226,16 @@ <h2>Operating System, Shell, Versions, Users</h2>
<td></td>
<td>hyper-v detected (win only)</td>
</tr>
<tr>
<td></td>
<td>remoteSession</td>
<td></td>
<td></td>
<td></td>
<td>X</td>
<td></td>
<td>runs in remote session (win only)</td>
</tr>
<tr class="example">
<td></td>
<td colspan="7">
Expand Down
1 change: 1 addition & 0 deletions lib/index.d.ts
Expand Up @@ -315,6 +315,7 @@ export namespace Systeminformation {
servicepack: string;
uefi: boolean;
hypervizor?: boolean;
remoteSession?: boolean;
}

interface UuidData {
Expand Down
2 changes: 1 addition & 1 deletion lib/osinfo.js
Expand Up @@ -324,7 +324,7 @@ function osInfo(callback) {
const workload = [];
workload.push(util.wmic('os get /value'));
workload.push(execPromise('systeminfo', util.execOptsWin));
workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession'))
workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession'));
util.promiseAll(
workload
).then(data => {
Expand Down

0 comments on commit 91b56e8

Please sign in to comment.