Skip to content

Commit 70b26f9

Browse files
committed
feat: 准备模板打包
1 parent c0686d8 commit 70b26f9

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

src/Templates/CurvaLauncher.PluginTemplate/CurvaLauncher.PluginTemplate.csproj

+19-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,32 @@
33
<PropertyGroup>
44
<TargetFramework>net8.0-windows</TargetFramework>
55
<Nullable>enable</Nullable>
6+
7+
<PackageType>Template</PackageType>
8+
<PackageVersion>0.7.1-beta</PackageVersion>
9+
<PackageId>CurvaLauncher.PluginTemplate</PackageId>
10+
<PackageIcon>Icon128.png</PackageIcon>
11+
<RepositoryUrl>https://github.com/OrgEleCho/CurvaLauncher</RepositoryUrl>
12+
13+
<IncludeContentInPack>true</IncludeContentInPack>
14+
<IncludeBuildOutput>false</IncludeBuildOutput>
15+
<ContentTargetFolders>content</ContentTargetFolders>
616
</PropertyGroup>
717

18+
<ItemGroup>
19+
<None Include="..\..\..\assets\Icon128.png">
20+
<Pack>True</Pack>
21+
<PackagePath>\</PackagePath>
22+
</None>
23+
</ItemGroup>
24+
825
<ItemGroup>
926
<PackageReference Include="CurvaLauncher.Plugins" Version="0.7.1-beta" />
1027
</ItemGroup>
1128

1229
<ItemGroup>
13-
<Page Include="I18n\EnUs.xaml">
14-
<Generator>MSBuild:Compile</Generator>
15-
</Page>
16-
<Page Include="I18n\ZhHans.xaml">
17-
<Generator>MSBuild:Compile</Generator>
18-
</Page>
30+
<Content Include="**\*" Exclude="**\bin\**;**\obj\**" />
31+
<Compile Remove="**\*" />
1932
</ItemGroup>
2033

2134
</Project>

0 commit comments

Comments
 (0)