microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.05k stars 1.43k forks source link

PowerShell module v1.9.2505 broken on PowerShell v7.4.5 #4829

Open o-l-a-v opened 1 week ago

o-l-a-v commented 1 week ago

Brief description of your issue

1.9.2411 worked just fine, but with the recently released 1.9.2505 I can't even do the following:

PS > Microsoft.WinGet.Client\Get-WinGetPackage -Source 'Winget'

Get-WinGetPackage: Operation is not supported on this platform. (0x80131539)

PS >

Steps to reproduce

Expected behavior

Should work as previous version of said module (Microsoft.WinGet.Client).

Actual behavior

Crashes

Environment

denelon commented 1 week ago

@o-l-a-v thanks for reporting this!

We're working to get a fix out ASAP.

JohnMcPMS commented 1 week ago

The new version has been delisted to prevent further impact.