cpu() Apple Silicon M1 mem
This commit is contained in:
parent
6c222d4dcc
commit
afc2002145
@ -425,7 +425,7 @@ function memLayout(callback) {
|
|||||||
if (!result.length) {
|
if (!result.length) {
|
||||||
const lines = stdout.toString().split('\n');
|
const lines = stdout.toString().split('\n');
|
||||||
const size = parseInt(util.getValue(lines, ' Memory:'));
|
const size = parseInt(util.getValue(lines, ' Memory:'));
|
||||||
const type = parseInt(util.getValue(lines, ' Type:'),);
|
const type = util.getValue(lines, ' Type:');
|
||||||
if (size && type) {
|
if (size && type) {
|
||||||
result.push({
|
result.push({
|
||||||
size,
|
size,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user