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 (by checking the version of the operating system and compare it to those supporting WinGet for example).
- If so, add a button
Install with WinGet to the bar of notification, which 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 WinGetto the bar of notification, which enters the following command when clicked: