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

Support self-updating? #20

Open
avamsi opened this issue Sep 26, 2023 · 3 comments
Open

Support self-updating? #20

avamsi opened this issue Sep 26, 2023 · 3 comments

Comments

@avamsi
Copy link
Owner

avamsi commented Sep 26, 2023

We could probably do this automatically? But maybe not, in the interest of startup time.

@avamsi
Copy link
Owner Author

avamsi commented Sep 26, 2023

Another way to approach this would probably be a gobin "package manager" for go install ...s.

@avamsi
Copy link
Owner Author

avamsi commented Sep 28, 2023

Looks like there are some selfupdate packages available but we could probably just run go install with the module from (debug) buildinfo? Need to handle devel binaries explicitly, though.

@avamsi
Copy link
Owner Author

avamsi commented Nov 13, 2023

Maybe we could start a goroutine to check for updates and tie it back at the end (of the program)? Need to figure out a way to not do that all the time, though -- seems wasteful (unlike say, brew).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant