2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-23 10:38:55 +00:00
This commit is contained in:
Ronan Jouchet 2018-05-11 16:58:36 -04:00
parent 6a8114e505
commit 039ad50fa6

View File

@ -203,11 +203,11 @@ function buildMain(inpOptions, callback) {
packagerConsole.override(); packagerConsole.override();
packager(packageOptions) packager(packageOptions)
.then(appPathArray => { .then((appPathArray) => {
packagerConsole.restore(); // restore console.error packagerConsole.restore(); // restore console.error
cb(null, opts, appPathArray); // options still contain the icon to waterfall cb(null, opts, appPathArray); // options still contain the icon to waterfall
}) })
.catch(error => { .catch((error) => {
packagerConsole.restore(); // restore console.error packagerConsole.restore(); // restore console.error
cb(error, opts); // options still contain the icon to waterfall cb(error, opts); // options still contain the icon to waterfall
}); });