465aadbb1a
Switch the assembly name to HellionChat so Dalamud uses pluginConfigs/HellionChat for our config file and database directory, instead of sharing those locations with the upstream Chat 2 plugin. Code namespace stays ChatTwo.* so upstream cherry-picks apply cleanly. Rename the DalamudPackager manifest to HellionChat.yaml with fork-specific name, author, repo URL, description, tags and changelog. Plugin.PluginName becomes "Hellion Chat". Add a one-shot migration in the plugin constructor that runs before GetPluginConfig: if pluginConfigs/ChatTwo.json or the ChatTwo/ directory exist and our equivalents don't, move them into the HellionChat layout. Idempotent: only fires on the first load where legacy paths are present and ours are not.
65 lines
2.7 KiB
XML
Executable File
65 lines
2.7 KiB
XML
Executable File
<Project Sdk="Dalamud.NET.Sdk/15.0.0">
|
|
<PropertyGroup>
|
|
<Version>1.35.3</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="9.0.0" />
|
|
<PackageReference Include="morelinq" Version="4.4.0" />
|
|
<PackageReference Include="Pidgin" Version="3.3.0" />
|
|
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.12" />
|
|
<PackageReference Include="Watson.Lite" Version="6.3.9" />
|
|
</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>
|
|
|
|
<ItemGroup>
|
|
<Folder Include="images\" />
|
|
</ItemGroup>
|
|
|
|
<!--This doesn't work until Plogon is updated to include NodeJS-->
|
|
<!-- <Target Name="NodeJS Compile" BeforeTargets="BeforeCompile">-->
|
|
<!-- <Exec Command="npm install" WorkingDirectory="Http\Frontend"/>-->
|
|
<!-- <Exec Command="npm run build" WorkingDirectory="Http\Frontend"/>-->
|
|
<!-- </Target>-->
|
|
<!-- -->
|
|
<!-- <Target Name="CopyFiles" AfterTargets="Build">-->
|
|
<!-- <ItemGroup>-->
|
|
<!-- <Files Include="$(MSBuildThisFileDirectory)\Http\Frontend\build\**" />-->
|
|
<!-- </ItemGroup>-->
|
|
<!-- -->
|
|
<!-- <Copy SourceFiles="@(Files)" DestinationFolder="$(TargetDir)\Frontend\%(RecursiveDir)" />-->
|
|
<!-- </Target>-->
|
|
|
|
<!-- <Target Name="NodeJS Compile" BeforeTargets="BeforeCompile" Condition="'$(Configuration)' == 'Debug'">-->
|
|
<!-- <Exec Command="npm install" WorkingDirectory="Http\Frontend"/>-->
|
|
<!-- <Exec Command="npm run build" WorkingDirectory="Http\Frontend"/>-->
|
|
<!-- </Target>-->
|
|
|
|
<Target Name="UnzipBuild" AfterTargets="Build">
|
|
<Unzip SourceFiles="websiteBuild.zip" DestinationFolder="$(TargetDir)\Frontend"/>
|
|
</Target>
|
|
</Project>
|