Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
WinGet should be able to determine if it needs an update by virtue of loading the PreIndexed package for the "winget" source. If an update is available, the user should be prompted to perform the update.
This shouldn't become a "nag", so there should be arguments and settings to control the default behavior.
If winget upgrade --all or an upgrade command includes multiple packages including Microsoft.AppInstaller, ideally WinGet will update itself and then continue after it is updated with the "batch".
Proposed technical implementation details
No response
Relevant area(s)
WinGet CLI
Description of the new feature / enhancement
WinGet should be able to determine if it needs an update by virtue of loading the PreIndexed package for the "winget" source. If an update is available, the user should be prompted to perform the update.
This shouldn't become a "nag", so there should be arguments and settings to control the default behavior.
If
winget upgrade --allor an upgrade command includes multiple packages including Microsoft.AppInstaller, ideally WinGet will update itself and then continue after it is updated with the "batch".Proposed technical implementation details
No response