Skip to content

Commit

Permalink
chore: prepare pack script
Browse files Browse the repository at this point in the history
  • Loading branch information
emako committed Jul 9, 2024
1 parent d82dadc commit b92061c
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<img src="https://github.com/lemutec/PresentMonFps/blob/master/pack/Favicon.png?raw=true" width="80">
<img src="https://raw.githubusercontent.com/lemutec/PresentMonFps/v2/src/Favicon.png" width="80">

# PresentMonFps

Expand Down
2 changes: 1 addition & 1 deletion nuget_pack.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@REM rd /s /q C:\Users\{UserName}\.nuget\packages\PresentMonFps
@REM dotnet nuget locals all --clear
cd pack
cd src
dotnet restore
dotnet pack PresentMonFps.csproj -c Release -o ../
@pause
Binary file added src/Favicon.ico
Binary file not shown.
Binary file added src/Favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/Favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 36 additions & 1 deletion src/PresentMonFps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,26 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>PresentMonFps</AssemblyName>
<PackageVersion>2.0.0</PackageVersion>
<AssemblyVersion>2.0.0</AssemblyVersion>
<FileVersion>2.0.0</FileVersion>
<Version>$(VersionPrefix)2.0.0</Version>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<Authors>Lemutec</Authors>
<Company>Lemutec</Company>
<Title>PresentMonFps</Title>
<Description>The PresentMon .NET Wrapper for FPS.</Description>
<PackageProjectUrl>https://github.com/lemutec/PresentMonFps</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/lemutec/PresentMonFps</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>PresentMon</PackageTags>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageIcon>Favicon.png</PackageIcon>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<Platforms>AnyCPU;x86;x64</Platforms>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
</PropertyGroup>
Expand All @@ -13,4 +30,22 @@
<PackageReference Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="3.1.12" />
</ItemGroup>

<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

<ItemGroup>
<None Update="Favicon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>

0 comments on commit b92061c

Please sign in to comment.