memLayout() bank info fix macOS
This commit is contained in:
parent
b064399673
commit
fe63c18d9b
@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 4.19.3 | 2020-01-24 | `memLayout()` bank info fix macOS |
|
||||
| 4.19.2 | 2020-01-19 | `cpu()` muli-processor fix windows |
|
||||
| 4.19.1 | 2020-01-14 | `osInfo()` uefi fix windows |
|
||||
| 4.19.0 | 2020-01-12 | `osInfo()` added uefi |
|
||||
|
||||
@ -83,6 +83,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">4.19.3</th>
|
||||
<td>2020-01-24</td>
|
||||
<td><span class="code">memLayout()</span> bank info fix macOS</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">4.19.2</th>
|
||||
<td>2020-01-19</td>
|
||||
|
||||
@ -168,7 +168,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.19.2</span></div>
|
||||
<div class="version">Current Version: <span id="version">4.19.3</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">
|
||||
|
||||
@ -38,7 +38,8 @@ const OSX_RAM_manufacturers = {
|
||||
'0x02FE': 'Elpida',
|
||||
'0x5105': 'Qimonda AG i. In.',
|
||||
'0x8551': 'Qimonda AG i. In.',
|
||||
'0x859B': 'Crucial'
|
||||
'0x859B': 'Crucial',
|
||||
'0x04CD': 'G-Skill'
|
||||
};
|
||||
|
||||
// _______________________________________________________________________________________
|
||||
@ -330,7 +331,7 @@ function memLayout(callback) {
|
||||
devices.shift();
|
||||
devices.forEach(function (device) {
|
||||
let lines = device.split('\n');
|
||||
const bank = (hasBank ? 'BANK ' : 'DIMM') + lines[0].trim();
|
||||
const bank = (hasBank ? 'BANK ' : 'DIMM') + lines[0].trim().split('/')[0];
|
||||
const size = parseInt(util.getValue(lines, ' Size'));
|
||||
if (size) {
|
||||
result.push({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user