angular-electron
angular-electron copied to clipboard
[Bug]: Application gives blank white screen when tried to reload
Steps to reproduce
Create .exe using cmd: npm run electron:build then inside win-unpacked double click on the exe. the application runs good but when i try to reload it the application shows blank screen with error message: Not allowed to load local resource: file:///...dist/win-unpacked/resources/app.asar/home
✔️ Expected Behavior
Application should reload and should not show blank screen with the error message.
🔍 Additional context
Win 11
I removed refresh and added relaunch app to handle this error. it may work till we get permanent solution
https://www.electronjs.org/docs/latest/api/app#apprelaunchoptions
have you tried the change?