mirror of
https://github.com/waynebian01/Shigure.git
synced 2026-09-03 07:15:24 +08:00
45 lines
2.1 KiB
XML
45 lines
2.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<PropertyGroup>
|
||
<OutputType>WinExe</OutputType>
|
||
<TargetFramework>net10.0-windows</TargetFramework>
|
||
<Nullable>enable</Nullable>
|
||
<UseWindowsForms>true</UseWindowsForms>
|
||
<ImplicitUsings>enable</ImplicitUsings>
|
||
<AssemblyName>Shigure</AssemblyName>
|
||
<RootNamespace>Shigure</RootNamespace>
|
||
<Company>Arasaka Corporation</Company>
|
||
<Version>1.2.1.9</Version>
|
||
<AssemblyVersion>1.2.1.9</AssemblyVersion>
|
||
<FileVersion>1.2.1.9</FileVersion>
|
||
<ApplicationIcon>Assets\arasaka-icon.ico</ApplicationIcon>
|
||
<ApplicationHighDpiMode>PerMonitorV2</ApplicationHighDpiMode>
|
||
</PropertyGroup>
|
||
|
||
<!-- 提权清单只在 Release(打包)构建生效:Debug 构建(含默认 dotnet run)不要求提权,
|
||
便于开发调试;Release 产物仍通过 app.manifest 要求管理员权限启动。 -->
|
||
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
|
||
<ApplicationManifest>app.manifest</ApplicationManifest>
|
||
</PropertyGroup>
|
||
|
||
<ItemGroup>
|
||
<EmbeddedResource Include="Assets\*.ico" />
|
||
<EmbeddedResource Include="Assets\*.png" />
|
||
<EmbeddedResource Include="Assets\*.svg" />
|
||
<EmbeddedResource Include="Assets\Class\*.jpg" />
|
||
<EmbeddedResource Include="Assets\Spec\*.jpg" />
|
||
<!-- Complete spell icons live in one external read-only package. Only the
|
||
hand-picked custom JPG/PNG actions remain embedded in the executable. -->
|
||
<EmbeddedResource Include="Assets\Spell\*.jpg" Exclude="Assets\Spell\icon-*.jpg" />
|
||
<EmbeddedResource Include="Assets\Spell\*.png" />
|
||
<None Include="Assets\SpellIcons.shgpack" Link="data\SpellIcons.shgpack"
|
||
CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest"
|
||
ExcludeFromSingleFile="true" />
|
||
<None Include="config\*.json" CopyToOutputDirectory="PreserveNewest" />
|
||
<None Include="keymap\*.json" CopyToOutputDirectory="PreserveNewest" />
|
||
<None Include="wow_process.txt" CopyToOutputDirectory="PreserveNewest" />
|
||
<None Update="Fuyutsui\**\*" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
|
||
</ItemGroup>
|
||
|
||
</Project>
|