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);