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: self update #806

Merged
merged 1 commit into from
Aug 6, 2023
Merged

feat: self update #806

merged 1 commit into from
Aug 6, 2023

Commits on Aug 4, 2023

  1. feat: self update

    Added package `update` and `semver` that can be used for selfupdate.
    
    Most of the code was copied from [go-selfupdate](https://github.com/creativeprojects/go-selfupdate), [go-update](https://github.com/inconshreveable/go-update) and [semver](https://github.com/Masterminds/semver). Most of the unneeded code has been removed, so there is no need to add new dependencies.
    
    In addition, users with the `mips` arch will not be able to selfupdate, as there is no way to get the float of the MIPS arch.
    
    Tested OS and arch:
    - [x] linux/amd64
    - [x] linux/arm64
    - [x] windows/amd64
    WaterLemons2k committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    e9e95c1 View commit details
    Browse the repository at this point in the history