Skip to content
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

add proxy authentication support to electron-updater #1530

Closed
wants to merge 2 commits into from
Closed

add proxy authentication support to electron-updater #1530

wants to merge 2 commits into from

Conversation

BurningEnlightenment
Copy link
Contributor

@BurningEnlightenment BurningEnlightenment commented May 5, 2017

With this approach we simply relay the login event from the electron requests to the autoUpdater instance through a callback provided by an (optional) constructor parameter of ElectronHttpExecutor.
The test suite runs; but I haven't had time to test the change specifically, but uploaded it in order to allow for early feedback on the general approach.

resolves #1528

@mention-bot
Copy link

@BurningEnlightenment, thanks for your PR! By analyzing the history of the files in this pull request, we identified @kevinphelps, @AlienHoboken and @maczikasz to be potential reviewers.

Relay "login" events from ElectronHttpExecutor back to the autoUpdater
instance, where the user may decide to subscribe to the "login" event.
@BurningEnlightenment
Copy link
Contributor Author

@develar Why does doApiRequest() use the default session instead of the electron updater session?

@develar
Copy link
Member

develar commented May 6, 2017

I think it is bug.

@BurningEnlightenment
Copy link
Contributor Author

I think it is bug.

Shall I add a commit fixing it to this PR?

@develar
Copy link
Member

develar commented May 6, 2017

Yes, please.

develar added a commit to develar/electron-builder that referenced this pull request May 7, 2017
@develar develar closed this in a892a5b May 7, 2017
@develar
Copy link
Member

develar commented May 7, 2017

Danke!

@develar
Copy link
Member

develar commented May 8, 2017

electron-updater 1.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[electron-updater] proxy authentication
3 participants