mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-14 08:16:03 +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"
|
||||
}
|
||||
|
||||
// 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
|
||||
packager(options, function(error, appPath){
|
||||
console.log("Wrote new app to " + appPath);
|
||||
|
|
Loading…
Reference in a new issue