Hi, I’m running into a bit of an annoyance when developing an Electron app that also runs a server.
I am using Electron to package my app and also for the settings of the app, but I am also running an express.js server that can be accessed via a regular browser on the user’s computer.
Whenever I start my app, I get a message from OSX saying “Do you want the application “Electron.app” to accept incoming network connections?” (it seems it’s asking because of the express server). This becomes a real hassle as each time I change some code and restart the app I have to click on the Allow button.
I tried codesigning the Electron.app app in my node_modules/electron-prebuilt/dist/ folder, but that didn’t seem to fix it.
Has anyone else run in to this issue or have any ideas?