Skip to content

Commit

Permalink
refactor(packager): upgrade to Electron Packager 8.4.0 (with quiet op…
Browse files Browse the repository at this point in the history
…tion)
  • Loading branch information
malept committed Dec 9, 2016
1 parent 218518e commit 9ab19b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"commander": "^2.9.0",
"debug": "^2.3.3",
"electron-installer-dmg": "^0.1.2",
"electron-packager": "^8.3.0",
"electron-packager": "^8.4.0",
"electron-winstaller": "^2.5.0",
"fs-promise": "^0.5.0",
"inquirer": "^1.2.1",
Expand Down
5 changes: 1 addition & 4 deletions src/electron-forge-package.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,9 @@ const main = async () => {
});
const userDefinedAsarPrefs = packageOpts.asar;
packageOpts.asar = false;
packageOpts.quiet = true;

// Prevent electron-packager spitting logs out
const log = console.error;
console.error = () => {};
const packageDirs = await pify(packager)(packageOpts);
console.error = log;

packagerSpinner.succeed();

Expand Down

0 comments on commit 9ab19b5

Please sign in to comment.