fix(packaging): icon and image urls now reach the built manifest
Three packaging defects rolled into one fix: - The custom DalamudPackager.targets override forced HandleImages and ImagesPath through the legacy code path. SDK 15 handles images by default and the override produced an output manifest with neither IconUrl nor ImageUrls populated. Removed. - The csproj only included images/icon.png explicitly via <None Include>, so chatWindow.png and withSimpleTweaks.png never reached the build output and never made it into the release ZIP either. Switched to a glob include. - HellionChat.yaml carried no icon_url / image_urls, so even after the SDK started writing the manifest correctly, both fields stayed unset. Added them pointing at the public raw.githubusercontent URLs that already work for the repo.json IconUrl. Net effect on a fresh release: Dalamud picks up the icon next to the DLL on dev installs, the plugin-installer card shows the proper HellionChat logo for users coming through the custom repo, and the two screenshot images are listed alongside the description so the plugin installer carousel works the way other Dalamud plugins look.
This commit is contained in:
+9
-10
@@ -57,17 +57,16 @@
|
||||
</ItemGroup>
|
||||
|
||||
|
||||
<!-- Plugin icon. Copy images/* into the build output so Dalamud
|
||||
finds the icon next to the DLL, and let the SDK default
|
||||
DalamudPackager pipeline include the same path in the
|
||||
release ZIP. Earlier we shipped a custom DalamudPackager
|
||||
targets override that explicitly set HandleImages and
|
||||
ImagesPath; that override conflicted with the SDK 15
|
||||
default and the resulting manifest carried no IconUrl.
|
||||
Removed in v0.5.2. -->
|
||||
<ItemGroup>
|
||||
<Folder Include="images\" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- Copy images/icon.png next to the built DLL so Dalamud's local
|
||||
plugin loader finds it at <plugindir>/images/icon.png. The
|
||||
DalamudPackager.targets file in this directory then includes
|
||||
the same path inside the release ZIP — see that file for the
|
||||
full packaging override. -->
|
||||
<ItemGroup>
|
||||
<None Include="images\icon.png">
|
||||
<None Include="images\**">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user