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.
  2. 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
    Image

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions