1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-16 00:03:45 +00:00

Updated for freebsd

This commit is contained in:
Bryan Roe
2019-06-20 21:05:03 -07:00
parent 604e853354
commit ece7db84dd
2 changed files with 11 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ function find(name)
var res = child.stdout.str.trim().split('\n');
for(var i in res)
{
if(!res[i].startsWith(name + '.so')) { continue; }
var v = {name: res[i]};
child = require('child_process').execFile('/bin/sh', ['sh']);
child.stdout.str = '';