mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +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;
|
var buildInfoPath = null;
|
||||||
|
|
||||||
if (osType == 'Windows_NT') {
|
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') {
|
} else if (osType == 'Darwin') {
|
||||||
var contentPath = ".app/Contents/";
|
var contentPath = ".app/Contents/";
|
||||||
var contentEndIndex = __dirname.indexOf(contentPath);
|
var contentEndIndex = __dirname.indexOf(contentPath);
|
||||||
|
|
Loading…
Reference in a new issue