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

feat(electron-updater): allow custom update providers (#3656) #5984

Merged
merged 1 commit into from Jun 25, 2021

Conversation

mook-as
Copy link
Contributor

@mook-as mook-as commented Jun 24, 2021

Currently, the custom publisher can't be used in combination with electron-updater: there is a hard-coded list of update providers, and an exception is thrown if the publisher isn't one of the known ones.

This adds the ability to use a custom provider; however, the caller must pass in a custom options object where one of the fields contains a constructor function.

This doesn't seem to affect the tests (that is, they still pass fine).

Make it possible to use custom publishers with electron-updater; the caller
is required to create a custom options to the updater that passes in the
constructor function for a class that implments Provider<any>. Fixes electron-userland#3656.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants