mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 23:03:12 +02:00
respect out parameter in packager.js
This commit is contained in:
parent
5e762a4b95
commit
7dc8593d64
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ if (osType == "Darwin") {
|
||||||
options["name"] = "server-console"
|
options["name"] = "server-console"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check if we were passed a custom out directory, pass it along if so
|
||||||
|
var argv = require('yargs').argv;
|
||||||
|
if (argv.out) {
|
||||||
|
options.out = argv.out
|
||||||
|
}
|
||||||
|
|
||||||
// call the packager to produce the executable
|
// call the packager to produce the executable
|
||||||
packager(options, function(error, appPath){
|
packager(options, function(error, appPath){
|
||||||
console.log("Wrote new app to " + appPath);
|
console.log("Wrote new app to " + appPath);
|
||||||
|
|
Loading…
Reference in a new issue