Windows installed app not allowed to open index.html #929
Replies: 1 comment
-
I used this to get the index.html url instead: The windows release version didn't like the previous approach: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A strange thing here, if I compile an unpacked Windows app and run it, it works fine, but when I build an installer EXE, then install and run the app, there is a blank screen caused by an issue with the path to the index.html. The dev tools shows an error 'not allowed to open' the index.html and the path is wrong.
Why would this change for a packaged app rather than an unpackaged one? I'm new to electron-builder, so perhaps I've missed a config option. These are my two npm scripts:
Beta Was this translation helpful? Give feedback.
All reactions