Reduce bundled package size for Avalonia and pinget#4753
Merged
Gabriel Dufresne (GabrielDuf) merged 5 commits intoMay 12, 2026
Merged
Reduce bundled package size for Avalonia and pinget#4753Gabriel Dufresne (GabrielDuf) merged 5 commits into
Gabriel Dufresne (GabrielDuf) merged 5 commits into
Conversation
Publish the Avalonia app as an isolated self-contained trimmed multi-file artifact and remove publish PDBs from that output. Replace reflection-heavy Avalonia, IPC, settings, icon, integrity, and Cargo JSON paths with static mappings or source-generated metadata so the trimmed publish remains usable. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the Windows notification bridge and switch the Avalonia publish path back to TrimMode=partial while keeping the isolated multi-file trimmed artifact and PDB removal. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Resolve bundled Avalonia launches back to the installation root so root-level tools and assets are found when UniGetUI.Avalonia.exe runs from the Avalonia subfolder. Replace the nested UniGetUI.Pinget.Cli publish step with the Devolutions.Pinget.Cli.Rust package and remove the obsolete C# pinget project from the solution. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Gabriel Dufresne (GabrielDuf)
previously approved these changes
May 12, 2026
Gabriel Dufresne (GabrielDuf)
previously approved these changes
May 12, 2026
Sort using directives alphabetically in IpcServer.cs and WindowsPackageManagerStandardFactory.cs so `dotnet format style` no longer reports IMPORTS errors. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Gabriel Dufresne (GabrielDuf)
approved these changes
May 12, 2026
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.
Summary
TrimMode=partial, isolated underAvalonia\and without single-file/PDB output.pinget.exe, elevator/assets, integrity data, and contributor assets are found fromAvalonia\UniGetUI.Avalonia.exe.UniGetUI.Pinget.Clipublish with the prebuiltDevolutions.Pinget.Cli.Rustpackage and remove the obsolete project from the solution.Validation
dotnet test src\UniGetUI.Core.Data.Tests\UniGetUI.Core.Data.Tests.csproj --verbosity q --nologo -m:1dotnet test src\UniGetUI.PackageEngine.Tests\UniGetUI.PackageEngine.Tests.csproj --verbosity q --nologo -m:1dotnet restore src\UniGetUI.Windows.slnx --nologo -v:qPublishBundledPingetCliMSBuild target check copied prebuiltpinget.exeto build and publish roots.