Skip to content

Commit

Permalink
添加图标
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed Jul 15, 2023
1 parent 6b1791c commit aabaa7a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<IncludeSymbols>true</IncludeSymbols>
<LangVersion>preview</LangVersion>
<PackageIcon>Icon.png</PackageIcon>
<PackageIconUrl>https://raw.githubusercontent.com/wherewhere/Unicode-Style/main/logo.png</PackageIconUrl>
<PackageIconUrl>https://raw.githubusercontent.com/wherewhere/Enchants-Order/main/logo.png</PackageIconUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/wherewhere/Enchants-Order</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/wherewhere/Unicode-Style/releases</PackageReleaseNotes>
<PackageReleaseNotes>https://github.com/wherewhere/Enchants-Order/releases</PackageReleaseNotes>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageTags>Minecraft;Enchants;Order;MC;附魔;我的世界;麦块</PackageTags>
<RepositoryType>git</RepositoryType>
Expand Down
3 changes: 2 additions & 1 deletion EnchantsOrder/EnchantsOrder/EnchantsOrder.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
and '$(GITHUB_ACTIONS)' != 'True'
and '$(IsWindows)' == 'True'">
<NuspecFile Condition="'$(GITHUB_ACTIONS)' != 'true'">EnchantsOrder.nuspec</NuspecFile>
<NuspecProperties>id=$(AssemblyName);version=$(VersionPrefix);title=$(Title);authors=$(Authors);requireLicenseAcceptance=$(PackageRequireLicenseAcceptance);license=$(PackageLicenseExpression);projectUrl=$(PackageProjectUrl);description=$(Description);copyright=$(Copyright);repositoryType=$(RepositoryType);repositoryUrl=$(PackageProjectUrl);repositoryCommit=$(RepositoryCommit);buildOutput=bin\$(Configuration)</NuspecProperties>
<NuspecProperties>id=$(AssemblyName);version=$(VersionPrefix);title=$(Title);authors=$(Authors);requireLicenseAcceptance=$(PackageRequireLicenseAcceptance);license=$(PackageLicenseExpression);icon=$(PackageIcon);projectUrl=$(PackageProjectUrl);iconUrl=$(PackageIconUrl);description=$(Description);copyright=$(Copyright);repositoryType=$(RepositoryType);repositoryUrl=$(PackageProjectUrl);repositoryCommit=$(RepositoryCommit);buildOutput=bin\$(Configuration)</NuspecProperties>
</PropertyGroup>

<ItemGroup>
Expand All @@ -31,6 +31,7 @@
<ItemGroup>
<None Remove="EnchantsOrder.nuspec" />
<None Remove="EnchantsOrder.targets" />
<None Include="..\..\logo.png" Pack="true" PackagePath="\Icon.png" />
</ItemGroup>

</Project>
12 changes: 10 additions & 2 deletions EnchantsOrder/EnchantsOrder/EnchantsOrder.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@
<version>$version$</version>
<title>$title$</title>
<authors>$authors$</authors>
<owners></owners>
<requireLicenseAcceptance>$requireLicenseAcceptance$</requireLicenseAcceptance>
<license type="expression">$license$</license>
<icon>$icon$</icon>
<projectUrl>$projectUrl$</projectUrl>
<iconUrl>$iconUrl$</iconUrl>
<description>$description$</description>
<copyright>$copyright$</copyright>
<tags>Unicode;Text;Style</tags>
<tags>Minecraft;Enchants;Order;MC;附魔;我的世界;麦块</tags>
<repository type="$repositoryType$" url="$repositoryUrl$" commit="$repositoryCommit$" />
<dependencies>
<group targetFramework=".NETCore5.0" />
Expand All @@ -28,14 +29,19 @@
<group targetFramework="Silverlight5.0" />
<group targetFramework="WindowsPhone7.0" />
<group targetFramework="WindowsPhone8.0" />
<group targetFramework=".NETCoreApp2.1" />
<group targetFramework=".NETCoreApp3.1" />
<group targetFramework="net6.0" />
<group targetFramework="net8.0" />
<group targetFramework=".NETStandard2.0" />
<group targetFramework=".NETStandard2.1" />
<group targetFramework="native0.0" />
<group targetFramework="UAP10.0.15138" />
</dependencies>
</metadata>
<files>
<file src="..\..\logo.png" target="Icon.png" />
<file src="EnchantsOrder.targets" target="build\native\EnchantsOrder.targets" />
<file src="$buildOutput$\native\EnchantsOrder.*" target="lib\native\" />
<file src="$buildOutput$\net2.0-client\EnchantsOrder.*" target="lib\net20\" />
<file src="$buildOutput$\net3.5-client\EnchantsOrder.*" target="lib\net35\" />
Expand All @@ -45,9 +51,11 @@
<file src="$buildOutput$\net4.8.1\EnchantsOrder.*" target="lib\net481\" />
<file src="$buildOutput$\net6.0\EnchantsOrder.*" target="lib\net6.0\" />
<file src="$buildOutput$\netcore50\EnchantsOrder.*" target="lib\netcore50\" />
<file src="$buildOutput$\netcoreapp2.1\EnchantsOrder.*" target="lib\netcoreapp2.1\" />
<file src="$buildOutput$\netcoreapp3.1\EnchantsOrder.*" target="lib\netcoreapp3.1\" />
<file src="$buildOutput$\netstandard1.1\EnchantsOrder.*" target="lib\netstandard1.1\" />
<file src="$buildOutput$\netstandard2.0\EnchantsOrder.*" target="lib\netstandard2.0\" />
<file src="$buildOutput$\netstandard2.1\EnchantsOrder.*" target="lib\netstandard2.1\" />
<file src="$buildOutput$\sl3\EnchantsOrder.*" target="lib\sl3\" />
<file src="$buildOutput$\sl5\EnchantsOrder.*" target="lib\sl5\" />
<file src="$buildOutput$\uap10.0\EnchantsOrder.*" target="lib\uap10.0.15138\" />
Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aabaa7a

Please sign in to comment.