mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-18 21:17:41 +02:00
use dirname of executable path
This commit is contained in:
parent
39e95837ec
commit
5ccf59dae9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ exports.searchPaths = function(name, binaryType) {
|
|||
} else {
|
||||
// check directly beside the binary
|
||||
paths = [
|
||||
path.join(process.execPath, name + extension)
|
||||
path.join(path.dirname(process.execPath), name + extension)
|
||||
];
|
||||
|
||||
// check if we're inside an app bundle on OS X
|
||||
|
|
Loading…
Reference in a new issue