Skip to content

fix(cli): handle nvm://upgrade toast action - #19

Merged
coreybutler merged 1 commit into
mainfrom
feat/release-toast-copy
Oct 25, 2026
Merged

coreybutler merged 1 commit into
mainfrom
feat/release-toast-copy

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

Summary

  • Handle nvm://upgrade?version= from the toast action. Previously that host was treated as firewall and failed.
  • Forward upgrade --release to sync.exe so the toasted version is what gets installed (--force because protocol has no console).

Fixes the dead toast button in nvm-windows/nvm#1476.

Test plan

  • go test ./commands ./test/commands -run TestParseUpgradeProtocol|TestCLIUpgradeProtocol
  • Click toast Install/Apply/Update; nvm.exe launches sync upgrade --force --release

Toast button was dropped as an unsupported protocol host.
Dispatch to sync upgrade --force --release <version>.

Refs nvm-windows/nvm#1476

Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
@coreybutler
coreybutler merged commit 8f9182c into main Oct 25, 2026
5 of 6 checks passed
@coreybutler
coreybutler deleted the feat/release-toast-copy branch October 25, 2026 14:55
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