Skip to content

feat: add WinGet upgrade option to PowerShell update notification (#5477)#5558

Draft
PtJade-Ceramic wants to merge 10 commits into
PowerShell:mainfrom
PtJade-Ceramic:feat/winget-upgrade
Draft

feat: add WinGet upgrade option to PowerShell update notification (#5477)#5558
PtJade-Ceramic wants to merge 10 commits into
PowerShell:mainfrom
PtJade-Ceramic:feat/winget-upgrade

Conversation

@PtJade-Ceramic

@PtJade-Ceramic PtJade-Ceramic commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

PR Summary

When a new PowerShell version is available, this PR adds WinGet integration to the update notification:

  • Detect WinGet availability and latest version via winget show
  • Upgrade button when WinGet has a newer version than installed
  • Install WinGet button for Windows users without WinGet
  • Check WinGet Status button to find open winget-pkgs issues/PRs
  • Falls back to GitHub API when WinGet CLI is unavailable

Closes #5477

PR Checklist

  • PR has a meaningful title
  • Summarized changes
  • PR has tests
  • This PR is ready to merge and is not work in progress

…werShell#5477)

- Detect WinGet availability and version on Windows
- Offer 'Upgrade with WinGet' when WinGet has a newer version
- Offer 'Install WinGet' when WinGet is not installed
- Add 'Check WinGet Status' to find winget-pkgs issues/PRs
- Fall back to GitHub API when winget CLI is unavailable
- Refactor: extract whenSome, skip, addButton helpers
- Simplify code with functional filter-map-sort chains
@PtJade-Ceramic PtJade-Ceramic mentioned this pull request Jul 21, 2026
2 tasks
@github-actions github-actions Bot mentioned this pull request Jul 21, 2026
@JustinGrote

Copy link
Copy Markdown
Collaborator

Thanks for your submission! I'm going to convert this to draft status until tests pass, let us know when it is ready for review!

@JustinGrote
JustinGrote marked this pull request as draft July 21, 2026 20:17
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.

Allow upgrading with WinGet

2 participants