chore: rebuild node-hid to hide USB usage data (#853)

This commit is contained in:
Róbert Kiss
2018-11-14 22:22:24 +01:00
committed by László Monda
parent 330f7e72be
commit 1a14ac020e
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
const {execSync} = require('child_process');
const {join} = require('path');
const cwd = join(__dirname, '../packages/uhk-agent/dist/node_modules/node-hid');
console.log(`rebuild node-hid in ${cwd}`);
execSync('node-gyp rebuild', {cwd, shell: true, stdio: [0, 1, 2]});