Fix: publish brand assets so installed builds show the icon (beta.15) #38

Merged
KofTwentyTwo merged 1 commits from dev into main 2026-07-05 21:46:38 +00:00
1 Commits
Author SHA1 Message Date
James MaesandClaude Fable 5 cbdbaf403d Fix missing icons in installed builds: publish the brand assets
beta.14 shipped with blank splash/About icons and no window icon: the
brand SVG and .ico were <Content> without copy metadata, so `dotnet build`
(WinUI targets) copied them to bin — masking the problem locally — but
`dotnet publish` (the Velopack release path, unpackaged, no MSIX packaging
step) copied no Assets at all, so ms-appx:///Assets/Brand/gclo-icon.svg
and AppWindow.SetIcon found nothing.

Add CopyToOutputDirectory=PreserveNewest to the brand svg + ico so they
reach both build AND publish output. Verified: a release-configuration
`dotnet publish` now contains Assets/Brand/{gclo-icon.svg,gclo.ico}, and
the published exe renders the vector splash icon and the title-bar icon.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 16:40:29 -05:00