Added icon and NuGet package info

This commit is contained in:
iminet 2023-09-29 13:36:21 +02:00
parent 8d7102b99d
commit 3ad6342b07
4 changed files with 18 additions and 5 deletions

View File

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks> <TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
@ -7,13 +6,13 @@
<RootNamespace>ImgBBApi</RootNamespace> <RootNamespace>ImgBBApi</RootNamespace>
<AssemblyName>ImgBBApi</AssemblyName> <AssemblyName>ImgBBApi</AssemblyName>
<PackageReleaseNotes>Added package icon</PackageReleaseNotes> <PackageReleaseNotes>Added package icon</PackageReleaseNotes>
<Version>1.0.1</Version> <Version>1.0.2</Version>
<AssemblyVersion>1.0.1</AssemblyVersion> <AssemblyVersion>1.0.2</AssemblyVersion>
<FileVersion>1.0.1</FileVersion> <FileVersion>1.0.2</FileVersion>
<Authors>iminet</Authors> <Authors>iminet</Authors>
<Product>C# library for ImgBB</Product> <Product>C# library for ImgBB</Product>
<PackageId>Iminetsoft.ImgBBApi</PackageId> <PackageId>Iminetsoft.ImgBBApi</PackageId>
<PackageIcon>imgbb.png</PackageIcon> <PackageIcon>imgbb-invert.png</PackageIcon>
<PackageProjectUrl>https://github.com/iminet/ImgBBApi</PackageProjectUrl> <PackageProjectUrl>https://github.com/iminet/ImgBBApi</PackageProjectUrl>
<RepositoryUrl>https://github.com/iminet/ImgBBApi</RepositoryUrl> <RepositoryUrl>https://github.com/iminet/ImgBBApi</RepositoryUrl>
<PackageTags>dotnet ImgBB, image, imageupload, API</PackageTags> <PackageTags>dotnet ImgBB, image, imageupload, API</PackageTags>
@ -27,6 +26,7 @@
<ItemGroup> <ItemGroup>
<None Include="Readme.md" Pack="true" PackagePath="\"></None> <None Include="Readme.md" Pack="true" PackagePath="\"></None>
<None Include="Resources\imgbb.png" Pack="true" PackagePath="\"></None> <None Include="Resources\imgbb.png" Pack="true" PackagePath="\"></None>
<None Include="Resources\imgbb-invert.png" Pack="true" PackagePath="\"></None>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -69,5 +69,15 @@ namespace ImgBBApi.Properties {
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap imgbb_invert {
get {
object obj = ResourceManager.GetObject("imgbb-invert", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
} }
} }

View File

@ -121,4 +121,7 @@
<data name="imgbb" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="imgbb" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\imgbb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\imgbb.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="imgbb-invert" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\imgbb-invert.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

BIN
Resources/imgbb-invert.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB