mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:01:09 +02:00
Merge pull request #16414 from MiladNazeri/serverConsoleFix
Server console fix
This commit is contained in:
commit
316bdc83ae
1 changed files with 6 additions and 6 deletions
|
@ -49,11 +49,11 @@ if (argv.out) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// call the packager to produce the executable
|
// call the packager to produce the executable
|
||||||
packager(options, function(error, appPath) {
|
packager(options)
|
||||||
if (error) {
|
.then(appPath => {
|
||||||
|
console.log("Wrote new app to " + appPath);
|
||||||
|
})
|
||||||
|
.catch(error => {
|
||||||
console.error("There was an error writing the packaged console: " + error.message);
|
console.error("There was an error writing the packaged console: " + error.message);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
} else {
|
});
|
||||||
console.log("Wrote new app to " + appPath);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
Loading…
Reference in a new issue