osInfo() service pack version (windows)
This commit is contained in:
parent
9af4e5271c
commit
b8c61596ab
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
|||||||
|
|
||||||
| Version | Date | Comment |
|
| Version | Date | Comment |
|
||||||
| -------------- | -------------- | -------- |
|
| -------------- | -------------- | -------- |
|
||||||
|
| 4.2.0 | 2019-05-09 | `osInfo()` extended service pack version (windows) |
|
||||||
| 4.1.8 | 2019-05-09 | `graphics()` resolve on error (windows) |
|
| 4.1.8 | 2019-05-09 | `graphics()` resolve on error (windows) |
|
||||||
| 4.1.7 | 2019-05-09 | `users()` parsing fix (windows) |
|
| 4.1.7 | 2019-05-09 | `users()` parsing fix (windows) |
|
||||||
| 4.1.6 | 2019-04-24 | `memory()` swap used fix (linux) |
|
| 4.1.6 | 2019-04-24 | `memory()` swap used fix (linux) |
|
||||||
|
|||||||
@ -276,6 +276,7 @@ I also created a nice little command line tool called [mmon][mmon-github-url] (
|
|||||||
| | logofile | X | X | X | X | X | e.g. 'apple', 'debian', 'fedora', ... |
|
| | logofile | X | X | X | X | X | e.g. 'apple', 'debian', 'fedora', ... |
|
||||||
| | serial | X | X | X | X | | OS/Host serial number |
|
| | serial | X | X | X | X | | OS/Host serial number |
|
||||||
| | build | X | | X | X | | OS build version |
|
| | build | X | | X | X | | OS build version |
|
||||||
|
| | servicepack | | | | X | | service pack version |
|
||||||
| si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs |
|
| si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs |
|
||||||
| | os | X | X | X | X | | os specific UUID |
|
| | os | X | X | X | X | | os specific UUID |
|
||||||
| si.versions(cb) | {...} | X | X | X | X | X | version information (kernel, ssl, node, ...) |
|
| si.versions(cb) | {...} | X | X | X | X | X | version information (kernel, ssl, node, ...) |
|
||||||
|
|||||||
@ -80,6 +80,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th scope="row">4.2.0</th>
|
||||||
|
<td>2019-05-09</td>
|
||||||
|
<td><span class="code">osInfo()</span> extended service pack version (windows)</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">4.1.8</th>
|
<th scope="row">4.1.8</th>
|
||||||
<td>2019-05-09</td>
|
<td>2019-05-09</td>
|
||||||
|
|||||||
@ -170,7 +170,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.1.8</span></div>
|
<div class="version">Current Version: <span id="version">4.2.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>
|
<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">
|
||||||
|
|||||||
10
docs/os.html
10
docs/os.html
@ -185,6 +185,16 @@
|
|||||||
<td></td>
|
<td></td>
|
||||||
<td>OS build version</td>
|
<td>OS build version</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td></td>
|
||||||
|
<td>servicepack</td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td></td>
|
||||||
|
<td>X</td>
|
||||||
|
<td></td>
|
||||||
|
<td>service pack version</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>si.uuid(cb)</td>
|
<td>si.uuid(cb)</td>
|
||||||
<td>{...}</td>
|
<td>{...}</td>
|
||||||
|
|||||||
@ -175,7 +175,8 @@ function osInfo(callback) {
|
|||||||
codepage: '',
|
codepage: '',
|
||||||
logofile: '',
|
logofile: '',
|
||||||
serial: '',
|
serial: '',
|
||||||
build: ''
|
build: '',
|
||||||
|
servicepack: ''
|
||||||
};
|
};
|
||||||
|
|
||||||
if (_linux) {
|
if (_linux) {
|
||||||
@ -286,6 +287,7 @@ function osInfo(callback) {
|
|||||||
result.distro = util.getValue(lines, 'Caption', '=').trim();
|
result.distro = util.getValue(lines, 'Caption', '=').trim();
|
||||||
result.serial = util.getValue(lines, 'SerialNumber', '=').trim();
|
result.serial = util.getValue(lines, 'SerialNumber', '=').trim();
|
||||||
result.build = util.getValue(lines, 'BuildNumber', '=').trim();
|
result.build = util.getValue(lines, 'BuildNumber', '=').trim();
|
||||||
|
result.servicepack = util.getValue(lines, 'ServicePackMajorVersion', '=').trim() + '.' + util.getValue(lines, 'ServicePackMinorVersion', '=').trim();
|
||||||
result.codepage = util.getCodepage();
|
result.codepage = util.getCodepage();
|
||||||
if (callback) {
|
if (callback) {
|
||||||
callback(result);
|
callback(result);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user