Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer fails with jpg uncaught exeception #1468

Closed
bwmmc opened this issue Apr 13, 2017 · 1 comment
Closed

installer fails with jpg uncaught exeception #1468

bwmmc opened this issue Apr 13, 2017 · 1 comment

Comments

@bwmmc
Copy link

bwmmc commented Apr 13, 2017

  • Windows 64 bit:

Hi,

I inherited some code from a previous developer, he had been using electron 1.4.2 but I'm 1.6.2.
I've attached my package file. (extension changed from json to txt).

There is also a apckage.json file in the apps folder, (attached as package-apps.txt)
package-app.txt

package.txt

The app seems to build fine:

C:\Electron\electron-menubar-mdcl>yarn run dist
yarn run v0.21.3
$ build
No native production dependencies
Packaging for win32 x64 using electron 1.6.2 to dist\win-unpacked
Building NSIS installerInline image 2
  Packaging NSIS installer for arch x64
Done in 59.20s.
C:\Electron\electron-menubar-mdcl>

The electron app runs fine in visual studio code but when I try to run the installer it fails with the following message:

err

I took a look at app.asar and possibly the body section could be the problem?

img src="mdclidea.jpg" width="120" height="100"

just because the jpg is listed but no real reason to think it would be a problem.

Is this a bug or have I messed up somewhere?

Thanks,
Seán

@develar
Copy link
Member

develar commented Apr 14, 2017

Please try to disable asar — set asar to false. Does it help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants