electron / get

Download Electron release artifacts
https://npm.im/@electron/get
MIT License
338 stars 106 forks source link

[Feature Request]: auto proxy #217

Closed BlackHole1 closed 2 years ago

BlackHole1 commented 2 years ago

If HTTP(S)_PROXY / GLOBAL_AGENT_HTTP(S)_PROXY is present in the environment variable, the proxy is automatically set.

Behaves like: curl / wget.

I'd be willing to implement this feature

BlackHole1 commented 2 years ago

cc: @electron/wg-ecosystem

malept commented 2 years ago

Currently the tools/apps that use @electron/get are expected to set that up themselves.

https://github.com/electron/get/blob/c99de4bd1f8c21e4da98a4b8ac37012530e99c50/src/proxy.ts#L6-L31

See also: https://github.com/electron/get/pull/118