Reputation: 133
"package": "yarn build && electron-builder build --publish never",
"package-win-32": "yarn build && electron-builder build --win --ia32",
package will create 64-bit version of app.
package-win-32 create 32-bit version of app.
how to resolve this issue, can anyone help?
Upvotes: 4
Views: 758
Reputation: 26
The same thing happened recently to an app i'm working on. After analyzing the app's crash reports, we found out that a stack overflow error was thrown. The following option seems to have solved the issue for us.
app.disableHardwareAcceleration();
Add it to your main, before the creation of the browser window.
Upvotes: 1