Prerequisites
Summary
Allow the user to choose to upgrade with WinGet when new version is available
Proposed Design
When new version is available,
- Check whether WinGet is available.
- If so, change the pop-up notification as follows:
PowerShell v7.6.0 is out-of-date. The latest version is v7.6.1. Would you like to upgrade?
<button>Upgrade with WinGet</button>
<button>Open GitHub release in browser</button>
<button>Not now</button>
<button>Don't show again</button>
Where Install with WinGet enters the following command when clicked:
Start-Process winget.exe -ArgumentList 'upgrade --id Microsoft.PowerShell -s winget' -NoNewWindow
Prerequisites
Summary
Allow the user to choose to upgrade with WinGet when new version is available
Proposed Design
When new version is available,
Install with WinGetenters the following command when clicked: