zyedidia / eget

Easily install prebuilt binaries from GitHub.
MIT License
954 stars 39 forks source link

[Question] Is there any way to upadate downloaded packages? #21

Closed rjshrjndrn closed 2 years ago

rjshrjndrn commented 2 years ago

Hi, Nice app. It's very useful. But one question, will eget handle updates of downloaded binaries?

zyedidia commented 2 years ago

Eget currently doesn’t track where binaries were downloaded from after the fact, so it can’t automatically update them. By default though eget downloads the latest release so if you rerun the download it may update if there is a new release.

zyedidia commented 2 years ago

See #14 and the new --upgrade-only flag, which approximates this in a useful way using the release creation date and the file modification date for the local file.