Update Pinget to version 0.12.0 - #5364
Merged
Merged
Conversation
Copilot started reviewing on behalf of
Gabriel Dufresne (GabrielDuf)
September 9, 2026 18:15
View session
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The matching published dependencies restore successfully and directly provide the described upstream fix.
Pull request overview
Updates Pinget to 0.12.0, incorporating WinGet resolution and source-cache fixes from Pinget #44.
Changes:
- Updates Pinget Core and bundled Rust CLI dependencies in sync.
- Restores successfully across Windows and Linux CI jobs.
File summaries
| File | Description |
|---|---|
src/UniGetUI.PackageEngine.Managers.WinGet/UniGetUI.PackageEngine.Managers.WinGet.csproj |
Updates Pinget Core. |
src/UniGetUI.Avalonia/UniGetUI.Avalonia.csproj |
Updates the bundled Pinget CLI. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
There was a problem hiding this comment.
🤖 Pull request was approved automatically: the AI review is complete and all its review threads are resolved. 🎉
Integration Details
{
"deliveryId": "c06e55c0-ac7a-11f1-9437-038e936e85ca",
"headSha": "b3299212e2a16ea25facde2cdbddea0978160a15",
"reviewer": "copilot-pull-request-reviewer[bot]"
}
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What was broken
On machines where
winget.exeisn't resolvable by name, the WinGet section came up empty. Pinget shells out to the system WinGet for source operations, andlistpropagated a failed source refresh:Manager WinGet failed to list installed packages with exception InvalidOperationException: Pinget exited with code 1:
error: failed to run winget source command: program not found
Sources still listed fine (they answer from the store loaded at open), which is why the report shows WinGet "ready" with zero packages.
Why this PR is two lines
The fix belongs in Pinget, and it shipped there in 0.12.0
(Devolutions/pinget#44):
PINGET_WINGET_PATH, the running executable's directory and the PATH exactly as before, then the App Execution Alias directory and the newest registered App Installer package. Only the last two are new, so a machine that already worked resolves the very same executable.list/upgradere-export at most every 15 minutes instead of spawning WinGet on every enumeration.