E
E
Erik Mikoyan2021-02-23 10:11:55
Node.js
Erik Mikoyan, 2021-02-23 10:11:55

What if the application on electron can't access local files?

I have a built React app. I'm referencing an index.html file inside a build and electron is complaining that he can't access local files. How to solve it?

PS the problem is only with the application obtained after building with electron-builder. When I just start electron main.jsit, there is no such problem.
oDwosSuPRCk.jpg?size=412x82&quality=96&proxy=1&sign=1544e903d735030a873266c9d86155a4&type=album

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question