-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add initializeProxy helper for downstream packages #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth auto calling initializeProxy
based on an env var to help out dependant CLI tools.
E.g. ELECTRON_GET_USE_PROXY=1
Seems reasonable. Not sure how we'd handle this in Fiddle, though. |
@malept Fiddle being gui / non-cli would just expose something in settings for this 👍 |
@MarshallOfSound Can this be approved? |
🎉 This PR is included in version 1.6.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Folks are having trouble with using this module behind corporate proxies (example: electron/packager#1019). This pull request adds a method (code borrowed from yeoman) that will add environment variable support. See the new section of the README for details.
Downstream packages I expect to provide PRs for, if this is merged:
electron
electron-packager
@electron-forge/cli
fiddle
, I think?https://electronjs.org/docs/tutorial/installation#proxies will have to be modified slightly once
electron/electron
is updated (not that it's accurate right now anyway...)