angular-electron icon indicating copy to clipboard operation
angular-electron copied to clipboard

[Bug]: Application gives blank white screen when tried to reload

Open dindayalpandey opened this issue 1 year ago • 2 comments

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 Screenshot (64)

✔️ Expected Behavior

Application should reload and should not show blank screen with the error message.

🔍 Additional context

Win 11

dindayalpandey avatar Feb 15 '24 10:02 dindayalpandey

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

anoop-mobi avatar Mar 11 '24 14:03 anoop-mobi

have you tried the change?

dindayalpandey avatar May 03 '24 10:05 dindayalpandey