How could one make a proxy setting UI?


This is slightly unrelated, but how could this be made UI configurable from an electron app? Is there a way that users could edit settings that write to a config file that, on restart, executes the electron app using the proper proxy credentials? Or is there an easier way that users could do this without a restart?

I’d love to know, because I’m about to embark on an application using electron.js that will be used behind a multitude of different annoying corporate firewalls.

Is there any proxy settings?

Answered my own question: “session: api to set proxy”


& if you want to jump straight to the API docs (note anchor in link):

Also, note that this feature is available in v0.30.2. Wow, what a quick release schedule!