gyp build error fix
This commit is contained in:
parent
469bdce3f3
commit
7efa7c1285
@ -1,5 +1,7 @@
|
|||||||
{
|
{
|
||||||
'targets': [
|
'targets': [
|
||||||
|
"target_name": "smc",
|
||||||
|
"sources": [],
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="mac"', {
|
['OS=="mac"', {
|
||||||
|
|||||||
@ -252,7 +252,7 @@ function cpuTemperature(callback) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (_darwin) {
|
if (_darwin) {
|
||||||
let smc = require('./build/Release/smc');
|
let smc = require('../build/Release/smc');
|
||||||
let cores = ['TC1C', 'TC2C', 'TC3C', 'TC4C', 'TC5C', 'TC6C', 'TC7C', 'TC8C'];
|
let cores = ['TC1C', 'TC2C', 'TC3C', 'TC4C', 'TC5C', 'TC6C', 'TC7C', 'TC8C'];
|
||||||
let sum = 0;
|
let sum = 0;
|
||||||
cores.forEach(function(key) {
|
cores.forEach(function(key) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user