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

First party implementation of release fetching and unpacking #91

Open
anfragment opened this issue Jul 21, 2024 · 0 comments
Open

First party implementation of release fetching and unpacking #91

anfragment opened this issue Jul 21, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request in progress Actively under development

Comments

@anfragment
Copy link
Owner

anfragment commented Jul 21, 2024

Self-update algorithm

  1. Fetch the release manifest
  2. Check if manifest version > current version
  3. Download the file from assetURL into a temporary directory
  4. Check if the file hash matches that of the release
  5. Replace:
    • On macOS, the entire .app bundle
    • On Windows and Linux, just the currently running binary

References

@anfragment anfragment added enhancement New feature or request go labels Jul 21, 2024
@anfragment anfragment self-assigned this Jul 21, 2024
@anfragment anfragment removed the go label Aug 15, 2024
@anfragment anfragment added the in progress Actively under development label Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request in progress Actively under development
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants