Skip to content

Fall back to CLI for update detection when using bundled in-proc COM - #4572

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
fixReloadOfUpdate
Apr 10, 2026
Merged

Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
fixReloadOfUpdate

Conversation

@GabrielDuf

Copy link
Copy Markdown
Contributor

Problem

When UniGetUI uses the bundled in-proc WinGet COMactivation, IsUpdateAvailable is not reliably populated on CatalogPackage objects, causing most available updates to be missing from the updates list.

Fix

When NativeWinGetHelper is initialized via the bundled factory, GetAvailableUpdates_UnSafe() now delegates to BundledWinGetHelper, which parses winget upgrade --include-unknown output instead. This consistently returns correct results regardless of COM activation mode.

@GabrielDuf
Gabriel Dufresne (GabrielDuf) merged commit 7dcf715 into main Apr 10, 2026
1 check passed
@GabrielDuf
Gabriel Dufresne (GabrielDuf) deleted the fixReloadOfUpdate branch April 10, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants