From f569ebb0a9d075904b0707f51456b5f9d1a5ab01 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 7 Jan 2016 17:38:11 -0800 Subject: [PATCH] use process path to check beside console for components --- console/src/modules/path-finder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/console/src/modules/path-finder.js b/console/src/modules/path-finder.js index e12037a26d..e3dd118537 100644 --- a/console/src/modules/path-finder.js +++ b/console/src/modules/path-finder.js @@ -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