Skip to content
Permalink
Browse files

fix(packager): fix the third arch ora on linux

  • Loading branch information
MarshallOfSound committed Dec 11, 2016
1 parent e4dfded commit 894fd4e74dd8e19985e1ce03e08b3c945ef27a7b
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/electron-forge-package.js
@@ -38,6 +38,7 @@ const main = async () => {
const platform = program.platform || process.platform;

let prepareSpinner = ora.ora(`Preparing to Package Application for arch: ${(arch === 'all' ? 'ia32' : arch).cyan}`).start();
let prepareCounter = 0;

dir = await resolveDir(dir);
if (!dir) {
@@ -61,7 +62,8 @@ const main = async () => {
afterCopy: [async (buildPath, electronVersion, pPlatform, pArch, done) => {
if (packagerSpinner) {
packagerSpinner.succeed();
prepareSpinner = ora.ora(`Preparing to Package Application for arch: ${'x64'.cyan}`).start();
prepareCounter += 1;
prepareSpinner = ora.ora(`Preparing to Package Application for arch: ${(prepareCounter === 2 ? 'arm' : 'x64').cyan}`).start();
}
await pify(rimraf)(path.resolve(buildPath, 'node_modules/electron-compile/test'));
done();

0 comments on commit 894fd4e

Please sign in to comment.
You can’t perform that action at this time.