use process path to check beside console for components

This commit is contained in:
Stephen Birarda 2016-01-07 17:38:11 -08:00
parent 9bc381ce7b
commit f569ebb0a9

View file

@ -29,7 +29,7 @@ exports.searchPaths = function(name, binaryType) {
} else {
// check directly beside the binary
paths = [
__dirname + "/" + name + extension,
process.execPath + "/" + name + extension,
];
// check if we're inside an app bundle on OS X