Skip to content

Add installer and startup update prompt - #3

Merged
philipptpunkt merged 1 commit into
mainfrom
feat/install-update-prompt
May 11, 2026
Merged

Add installer and startup update prompt#3
philipptpunkt merged 1 commit into
mainfrom
feat/install-update-prompt

Conversation

@philipptpunkt

@philipptpunkt philipptpunkt commented May 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds a one-command Linux/macOS installer that downloads the matching release asset into ~/.github-butler and wires PATH.
  • Checks GitHub releases before the TUI starts and prompts users to self-update when a newer version is available.
  • Restarts github-butler automatically with the same CLI args after a successful update.
  • Updates the README install flow to match the new installer and documents the update prompt.

Test plan

  • bash -n scripts/install.sh
  • gofmt -w cmd/update_prompt.go internal/update/update.go internal/update/restart_unix.go internal/update/restart_windows.go internal/update/update_test.go
  • go test ./...
  • GOOS=windows GOARCH=amd64 go build ./...
  • go run . --version

@philipptpunkt
philipptpunkt force-pushed the feat/install-update-prompt branch from 09e170f to 4760d45 Compare May 11, 2026 10:00
@philipptpunkt
philipptpunkt merged commit d9c78c9 into main May 11, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant