Atul Jain
Atul Jain

Reputation: 133

Electron-builder app show blank screen for 32 bit, but works for 64-bit version

"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.

64 bit version

64-bit Version

32 bit version

32-bit version

how to resolve this issue, can anyone help?

Upvotes: 4

Views: 758

Answers (1)

Vagelis Nerantzis
Vagelis Nerantzis

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

Related Questions