Skip to content

Allow custom PinGet executable paths#4872

Merged
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
mamoreau-devolutions/pinget-custom-path
Jun 4, 2026
Merged

Allow custom PinGet executable paths#4872
Gabriel Dufresne (GabrielDuf) merged 1 commit into
mainfrom
mamoreau-devolutions/pinget-custom-path

Conversation

@mamoreau-devolutions
Copy link
Copy Markdown
Contributor

Summary

  • Honor existing custom manager executable paths even when they are not part of the detected PATH candidates.
  • Add a Browse... action to both WinUI and Avalonia package-manager settings so users can select pinget.exe outside PATH.
  • Keep secure custom-path gating intact and preserve fallback behavior for missing saved paths.
  • Update package-manager tests to cover saved custom paths with no detected candidates and saved paths outside the candidate list.

Validation

  • dotnet test src\UniGetUI.PackageEngine.Tests\UniGetUI.PackageEngine.Tests.csproj --no-restore --verbosity minimal --nologo -tl:off
  • dotnet build src\UniGetUI.Avalonia\UniGetUI.Avalonia.csproj --no-restore --verbosity minimal --nologo -tl:off /p:UseSharedCompilation=false
  • dotnet restore src\UniGetUI\UniGetUI.csproj --verbosity minimal --nologo -tl:off
  • dotnet build src\UniGetUI\UniGetUI.csproj --no-restore --verbosity minimal --nologo -tl:off /p:Platform=x64 /p:UseSharedCompilation=false
  • Launched the x64 debug app and confirmed it delegated to the running modern UniGetUI.Avalonia process.

Honor existing custom executable paths even when they are not part of the detected PATH candidates, and add Browse support to the WinUI and Avalonia package-manager settings pages.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 546dae7 into main Jun 4, 2026
3 of 4 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the mamoreau-devolutions/pinget-custom-path branch June 4, 2026 12:00
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