Skip to content

fix update of Portable packages#4829

Merged
Marc-André Moreau (mamoreau-devolutions) merged 2 commits into
mainfrom
portable-packages
May 26, 2026
Merged

fix update of Portable packages#4829
Marc-André Moreau (mamoreau-devolutions) merged 2 commits into
mainfrom
portable-packages

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

This pull request updates several dependencies to newer versions and improves how custom install locations are handled for portable packages during updates operations with WinGet. The most significant functional change ensures that portable packages are updated from their actual install location, preventing accidental data loss.

Dependency updates:

  • Updated Devolutions.Pinget.Cli.Rust package to version 0.7.0 in UniGetUI.Avalonia.csproj and UniGetUI.csproj.
  • Updated Devolutions.Pinget.Core package to version 0.7.0 in UniGetUI.PackageEngine.Managers.WinGet.csproj.

Improvements to portable package uninstall logic:

  • Modified WinGetPkgOperationHelper.cs to always use the detected install location from the registry for portable packages during uninstall, preventing WinGet from reinstalling to the default location and deleting the original directory. If the detected location is unavailable, it falls back to the custom install location if forced by settings.

#4823

@GabrielDuf Gabriel Dufresne (GabrielDuf) changed the title fix upadte of Portable packages fix update of Portable packages May 26, 2026
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) merged commit 138a073 into main May 26, 2026
3 of 4 checks passed
@mamoreau-devolutions Marc-André Moreau (mamoreau-devolutions) deleted the portable-packages branch May 26, 2026 20:43
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