-
-
Notifications
You must be signed in to change notification settings - Fork 52
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: respect system proxy settings on Windows platform #704
feat: respect system proxy settings on Windows platform #704
Conversation
@GoldJohnKing Is it also possible to set the proxy string within BSManager itself as well 🤔? Also not sure if |
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.
Hi, thanks a lot for your PR!
But can you use regedit-rs
, which we already use for registry manipulation instead of winreg
?
https://www.npmjs.com/package/regedit-rs
Edit: Oops, I hadn't seen @silentrald 's comment 😅
6a1fdb7
to
57b7ee0
Compare
e6a1e21
to
9e9fc14
Compare
Hi, I made the changes from As for the toggole-able setting page option suggested by @silentrald, I am not familiar to NodeJS and Electron. If it's a necessary function, would you please point me where to start from? |
Try looking into |
Hi, toggle-able option is added, please check. |
so it can make earlier connections go through proxy as well
Quality Gate passedIssues Measures |
Hi, all requested changes have been done, please check. Thanks for your suggests! |
@GoldJohnKing No more issues on my end, great job 😃. Unfortunately I don't have merge permissions though, so just wait for @Zagrios to test it as well if everything's good. Hopefully this gets merged soon. gl gl. |
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.
That's seems good to me 🙌
Thanks @GoldJohnKing ❤️
Thanks @silentrald for the review ❤️ |
@Zagrios let me double check if i can unblock it on my end |
Scope
closes TICKET-702
Implementation
Makes BSManager respect system proxy settings on Windows.
Winreg
package.global-agent
package.I am really not familiar to NodeJS, so implementation code should be ugly. Feel free to edit the code or give any suggestions.
I do not have Linux and macOS and is unlikely to use them. This implementation does not cover Linux or macOS.
How to Test
Without system proxy enabled on Windows:
Proxy Enabled: false
.With system proxy enabled on Windows:
Emoji Guide
For reviewers: Emojis can be added to comments to call out blocking versus non-blocking feedback.
E.g: Praise, minor suggestions, or clarifying questions that don’t block merging the PR.
E.g: Blocking feedback must be addressed before merging.