Skip to content

Allow upgrading with WinGet #5477

@PtJade-Ceramic

Description

@PtJade-Ceramic

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

Allow the user to choose to upgrade with WinGet when new version is available

Proposed Design

When new version is available,

  1. Check whether WinGet is available (by checking the version of the operating system and compare it to those supporting WinGet for example).
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-EnhancementA feature request (enhancement).Needs: TriageMaintainer attention needed!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions