chore: rebuild node-hid to hide USB usage data (#853)
This commit is contained in:
committed by
László Monda
parent
330f7e72be
commit
1a14ac020e
6
scripts/rebuild-node-hid.js
Normal file
6
scripts/rebuild-node-hid.js
Normal 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]});
|
||||
Reference in New Issue
Block a user