fix for build-info path on windows

This commit is contained in:
Stephen Birarda 2016-01-19 17:48:55 -08:00
parent e5d47f3379
commit 9054c5f3e9

View file

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