Evening, I\'m looking into using electron to package an existing angular2 build. I thought I had a dry run working but the actual packaging seems to be failing (see fina
this works for me on linux
newWindow.loadFile(`${__dirname}/index.html`);
you can add this to view the directory of your main.js and from there navigate to the index.html. console.log(__dirname)
console.log(__dirname)