Skip to content
Permalink
Browse files

fix(packager): check asar.unpack correctly

  • Loading branch information
malept committed Jan 11, 2017
1 parent cbb73e7 commit 150ea5dd99088aba471d2ee51058047e8bfb589c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/api/package.js
@@ -95,7 +95,7 @@ export default async (providedOptions = {}) => {
version: packageJSON.devDependencies['electron-prebuilt-compile'],
});
packageOpts.quiet = true;
if (typeof packageOpts.asar === 'object' && packageOpts.unpack) {
if (typeof packageOpts.asar === 'object' && packageOpts.asar.unpack) {
packagerSpinner.fail();
throw new Error('electron-compile does not support asar.unpack yet. Please use asar.unpackDir');
}

0 comments on commit 150ea5d

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