a155a57f33
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.
75 lines
3.2 KiB
XML
75 lines
3.2 KiB
XML
<Project Sdk="Dalamud.NET.Sdk/15.0.0">
|
|
<PropertyGroup>
|
|
<!-- Hellion Chat versioning runs separately from upstream Chat 2.
|
|
0.1.0 is our bootstrap release; the underlying Chat 2 base is
|
|
called out in the yaml changelog so users can see what it
|
|
derives from. -->
|
|
<Version>0.5.2</Version>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<!-- HellionChat fork: assembly is renamed so Dalamud uses
|
|
pluginConfigs/HellionChat instead of pluginConfigs/ChatTwo,
|
|
keeping our state independent from the upstream plugin.
|
|
Code namespace stays ChatTwo.* so upstream cherry-picks
|
|
apply cleanly. -->
|
|
<AssemblyName>HellionChat</AssemblyName>
|
|
<RootNamespace>ChatTwo</RootNamespace>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="MessagePack" Version="3.1.4" />
|
|
<PackageReference Include="Microsoft.Data.Sqlite" Version="10.0.7" />
|
|
<PackageReference Include="morelinq" Version="4.4.0" />
|
|
<PackageReference Include="Pidgin" Version="3.3.0" />
|
|
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Update="Resources\Language.Designer.cs">
|
|
<DesignTime>True</DesignTime>
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Language.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Update="Resources\Language.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Language.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
|
|
<!-- HellionChat — Hellion-specific resource bundle (HellionStrings.resx
|
|
+ HellionStrings.<lang>.resx) is picked up automatically by the SDK
|
|
default include. Designer.cs is hand-maintained, no auto-gen needed. -->
|
|
|
|
<!-- Bundled Hellion font (Exo 2, OFL-1.1). Embedded as a manifest
|
|
resource with a fixed LogicalName so FontManager can pull the
|
|
bytes back at runtime via AddFontFromMemory. The OFL license
|
|
text travels with it inside the assembly to satisfy the
|
|
"license must be distributed with the font" clause. -->
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Resources\HellionFont.ttf">
|
|
<LogicalName>HellionFont.ttf</LogicalName>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Resources\HellionFont-OFL.txt">
|
|
<LogicalName>HellionFont-OFL.txt</LogicalName>
|
|
</EmbeddedResource>
|
|
</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>
|
|
<None Include="images\**">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project>
|