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

Custom self-update mechanism #82

Open
anfragment opened this issue Jun 13, 2024 · 0 comments
Open

Custom self-update mechanism #82

anfragment opened this issue Jun 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request investigation needed Needs additional research or debugging

Comments

@anfragment
Copy link
Owner

Description

There are some glaring issues with the current self-update setup:

  • On macOS, go-github-selfupdate attempts to update the binary inside the Contents/MacOS folder, encountering permission errors. Replacing the entire .app file could resolve this issue.
  • There is a hard dependency on GitHub. GitHub releases lack internationalization and generally offer less versatility in terms of how updates can be distributed.

Considering all of the above, the solution might look like this:

  • A script that builds the application and creates a manifest file based on Git tags. The manifest can then be uploaded to an S3 bucket alongside build artifacts.
  • A custom self-update module that replaces go-github-selfupdate.
@anfragment anfragment added enhancement New feature or request investigation needed Needs additional research or debugging labels Jun 13, 2024
@anfragment anfragment self-assigned this Jun 13, 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 investigation needed Needs additional research or debugging
Projects
None yet
Development

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

1 participant