Electron index.html not loading after building the app
问题 I have an electron app that works perfectly fine before bundling it with electron-builder . After bundling it and opening the app, I get the following error : Not allowed to load local resource: file:///tmp/.mount_displa4VwuQh/resources/app.asar/file:/tmp/.mount_displa4VwuQh/resources/app.asar/build/index.html In the build folder I have the electron.js file and index.html and since the app is starting electron.js and thus index.html got bundled correctly. Here is my electron.js app entry