- set/clean system proxy settings for all desktop platforms
- windows
- linux(kde/gnome/dde)
- macOS
// single instance
ProxyManager manager = ProxyManager();
// set a http proxy
await manager.setAsSystemProxy(ProxyTypes.http, "127.0.0.1", 1087);
// set a https proxy
await manager.setAsSystemProxy(ProxyTypes.https, "127.0.0.1", 1087);
// set a socks4/5 proxy
await manager.setAsSystemProxy(ProxyTypes.socks, "127.0.0.1", 1080);