jaemk / self_update

Self updates for rust executables
MIT License
796 stars 69 forks source link

Allow for usage for Enterprise Github #48

Closed beckler closed 4 years ago

beckler commented 4 years ago

I'm looking to leverage this package for an internal app at my employer, but we're required to use an enterprise Github instance.

Right now, it looks like the Github backend is hardcoded to api.github.com. I think it would be rather easy to have a method that allows overriding that value. There are a few small URL differences in enterprise, but would you be open to this if I were to create a PR for it?

jaemk commented 4 years ago

Yes a PR would be great!

mainrs commented 4 years ago

Not sure if #54 completely implements it.

jaemk commented 4 years ago

released in 0.18.0