I’m trying to convert a browser angular app into a desktop app using electron framework. I have my app in app folder in wich I have also the index.html file. I created the main.js file in wich I load the index.html file like follows:
mainWindow.loadUrl('file://' + __dirname + '/index.html');
the app is loaded correctly and electron shows me the initial page of my app that is a login form. The problem is that the app is not able to comunicate with server with https. Indeed, I think the problem is I can not accept the certificate. Can someone help me?