Add the arm version of blhost and make getBlhostCmd() return architecture-specific blhost versions.
This commit is contained in:
@@ -21,7 +21,8 @@ function getBlhostCmd(pid) {
|
||||
let blhostPath;
|
||||
switch (process.platform) {
|
||||
case 'linux':
|
||||
blhostPath = 'linux/amd64/blhost';
|
||||
const arch = exec('uname -m', {silent:true}).stdout.trim();
|
||||
blhostPath = `linux/${arch}/blhost`;
|
||||
break;
|
||||
case 'darwin':
|
||||
blhostPath = 'mac/blhost';
|
||||
|
||||
Reference in New Issue
Block a user