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

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

Open
dindayalpandey opened this issue Feb 15, 2024 · 2 comments
Open
Labels

Comments

@dindayalpandey
Copy link

dindayalpandey commented Feb 15, 2024

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 dindayalpandey changed the title Application gives blank white screen when tried to reload [Bug]: Application gives blank white screen when tried to reload Feb 19, 2024
@anoop-mobi
Copy link

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

@dindayalpandey
Copy link
Author

have you tried the change?

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

No branches or pull requests

2 participants