mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 16:55:07 +02:00
fix for build-info path on windows
This commit is contained in:
parent
e5d47f3379
commit
9054c5f3e9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue