[+] Generate example config via attributes

This commit is contained in:
Clansty
2024-10-27 22:44:12 +08:00
parent 5eb0424ee7
commit 6bb2685e03
9 changed files with 541 additions and 510 deletions

View File

@@ -287,8 +287,6 @@
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AquaMai.zh.toml" WithCulture="false" />
<EmbeddedResource Include="AquaMai.toml" />
<EmbeddedResource Include="Resources\Locale.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Locale.Designer.cs</LastGenOutput>
@@ -313,4 +311,10 @@
<PackageReference Include="Samboy063.Tomlet" Version="5.4.0" />
</ItemGroup>
<ItemGroup>
<None Update="genConfig.csx">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Project>