Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Winget Issue with --exact not matching exact packages #36

Open
MrHinsh opened this issue Jul 12, 2024 · 3 comments
Open

Winget Issue with --exact not matching exact packages #36

MrHinsh opened this issue Jul 12, 2024 · 3 comments
Assignees

Comments

@MrHinsh
Copy link
Contributor

MrHinsh commented Jul 12, 2024

I have an issue where if I use --exact there are no packages returned, even though the string exactly matches the package. This means that GetInstalledPackages is not working as intended.

image

Also submitted to Winget:

microsoft/winget-cli#4632

@MrHinsh
Copy link
Contributor Author

MrHinsh commented Jul 12, 2024

I changed my code to be without exact and filtered manually.

@basicx-StrgV
Copy link
Owner

Thank you for the information, we probably need to wait for this problem to be fixed in WinGet but I will take a look at it too.

basicx-StrgV added a commit that referenced this issue Aug 29, 2024
…ut using the exact functionality of winget (Workaround for #36)
@basicx-StrgV
Copy link
Owner

I have added an alternative exact method for getting installed packages, without using WinGet’s exact functionality as a workaround for this issue.

https://github.com/basicx-StrgV/WGet.NET/releases/tag/4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants