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

Avoiding winget current bug #112

Closed
wants to merge 2 commits into from
Closed

Conversation

KnifMelti
Copy link
Contributor

For the moment winget export -o has a bug (microsoft/winget-pkgs#152059 (comment) / microsoft/winget-cli#4440) if the client has certain applications installed.

Testing if a single Id is installed via winget list is also much faster (<2 sec.)!

@KnifMelti
Copy link
Contributor Author

KnifMelti commented May 9, 2024

@Romanitho
Copy link
Owner

we used to have that in the past, but for long name that are truncated it was a problem. With the json it was perfect... We are all waiting for a basic json.
But, i'm ok to go back to this solution... waiting for proper job that could use json as output for all commands 😅😅

@Romanitho
Copy link
Owner

moreover you suppose that no other text will appear after the list, which is not 100% sure from our winget dev friends :)

@Romanitho
Copy link
Owner

77297dc

@KnifMelti
Copy link
Contributor Author

77297dc

Ah, forgot about that...
...well, list has its flaws, but I now have to check it this way.. ..too many installed applications that have the bug applying to them in our environment.
But, you're right about the essentials!

@KnifMelti KnifMelti closed this May 24, 2024
@KnifMelti
Copy link
Contributor Author

Old is more secure in the long run...

@KnifMelti KnifMelti deleted the Detection branch May 24, 2024 16:13
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

Successfully merging this pull request may close these issues.

2 participants