From 9054c5f3e90d60a62eb5f25d0a96be3daf515b82 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 19 Jan 2016 17:48:55 -0800 Subject: [PATCH] fix for build-info path on windows --- server-console/src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-console/src/main.js b/server-console/src/main.js index 28aba0eb31..35e51b4179 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -41,7 +41,7 @@ function getBuildInfo() { var buildInfoPath = null; if (osType == 'Windows_NT') { - buildInfoPath = path.resolve(process.execPath, 'build-info.json'); + buildInfoPath = path.join(path.dirname(process.execPath), 'build-info.json'); } else if (osType == 'Darwin') { var contentPath = ".app/Contents/"; var contentEndIndex = __dirname.indexOf(contentPath);