Skip to content

Commit

Permalink
thunderstore release & update netcodepatcher usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Xilophor committed Jan 8, 2024
1 parent 3afeca5 commit 5fabf13
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog
# Changelog

## v1.0.0 - ***Initial Release!***

Expand Down
11 changes: 6 additions & 5 deletions LethalNetworkAPI/LethalNetworkAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<PackageReference Include="BepInEx.Core" Version="5.*" PrivateAssets="all"/>
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.1.0" PrivateAssets="all"/>
<PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="Evaisa.NetcodePatcher.MSBuild" Version="3.*" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
Expand All @@ -36,7 +37,11 @@
<HintPath>$(DependenciesDirectory)\Unity.Netcode.Runtime.dll</HintPath>
</Reference>
</ItemGroup>


<ItemGroup>
<NetcodePatch Include="$(TargetPath)" />
</ItemGroup>

<ItemGroup>
<None Remove="asset" />
</ItemGroup>
Expand All @@ -47,10 +52,6 @@
<ItemGroup>
<Content Include="LethalNetworkAPI.csproj.user" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="cd $(NetcodePatcherDirectory)&#xA;NetcodePatcher.dll $(TargetDir) deps/" />
</Target>

<Target Name="CopyFiles" AfterTargets="PostBuildEvent">
<Copy SourceFiles="$(TargetPath)" DestinationFolder="$(PluginsDirectory)" />
Expand Down
Binary file added icon.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 5fabf13

Please sign in to comment.