Skip to content

menubar: one-click update for the CLI and the app together#778

Merged
iamtoruk merged 1 commit into
mainfrom
feat/menubar-one-click-update
Jul 20, 2026
Merged

menubar: one-click update for the CLI and the app together#778
iamtoruk merged 1 commit into
mainfrom
feat/menubar-one-click-update

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

The Update badge replaced only the menubar and the CLI banner only copied a command to the clipboard. One click now updates both, in order: the CLI in place via the package manager it actually came from (brew upgrade, or npm install -g codeburn@latest --force, preferring the npm sitting next to the codeburn launcher so nvm/volta/asdf installs update inside their own toolchain), then the app via the existing menubar --force installer run from the freshly updated CLI. Unrecognizable installs surface the manual command instead of guessing; a homebrew CLI without a findable brew never falls through to npm. Badge shows for CLI-only updates too; banner gains an Update now action with the copyable command as secondary. Six resolution tests (mutation-verified), Swift suites green (30 XCTest + 89 Swift Testing). Ships with the next mac tag.

The Update badge previously replaced only the menubar (via the CLI's
menubar --force installer), and the CLI banner only copied the update
command to the clipboard. One click now runs the whole sequence: update
the CLI in place through the package manager it was installed with
(brew upgrade, or npm install -g codeburn@latest --force; the npm next
to the codeburn launcher wins so nvm/volta/asdf installs update inside
their own toolchain), re-read the installed version, then run the app
replacement from the freshly updated CLI. No recognizable package
manager surfaces the manual command instead of guessing at a mutation;
a homebrew CLI without a findable brew never falls through to npm,
which would create a second conflicting install. The badge now also
appears for CLI-only updates, and the banner's primary action is Update
now with the copyable command kept as secondary. Six resolution tests,
mutation-verified.
@iamtoruk
iamtoruk merged commit 0016027 into main Jul 20, 2026
3 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