Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-bures committed Aug 1, 2023
1 parent b4e5ed7 commit ca64c4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CommunityFixes.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<RestoreAdditionalProjectSources>
https://nuget.spacewarp.org/v3/index.json
</RestoreAdditionalProjectSources>
<ModId Condition="'$(ModId)'==''">CommunityFixes</ModId>
<NoWarn>CS0436</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all" />
Expand All @@ -21,6 +21,6 @@
<PackageReference Include="UnityEngine.Modules" Version="2020.3.33.1" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /y &quot;$(ProjectDir)swinfo.json&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ModId)\&quot;&#xA;echo f | xcopy /y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ModId)\$(ModId).dll&quot;&#xA;if $(ConfigurationName) == Debug echo f | xcopy /y &quot;$(TargetDir)$(TargetName).pdb&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ModId)\$(ModId).pdb&quot;&#xA;xcopy /y &quot;$(ProjectDir)LICENSE&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ModId)\&quot;&#xA;echo f | xcopy /y &quot;$(ProjectDir)README.md&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ModId)\README.txt&quot;" />
<Exec Command="xcopy /y &quot;$(ProjectDir)swinfo.json&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ProjectName)\&quot;&#xA;echo f | xcopy /y &quot;$(TargetPath)&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ProjectName)\$(ProjectName).dll&quot;&#xA;if $(ConfigurationName) == Debug echo f | xcopy /y &quot;$(TargetDir)$(TargetName).pdb&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ProjectName)\$(ProjectName).pdb&quot;&#xA;xcopy /y &quot;$(ProjectDir)LICENSE&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ProjectName)\&quot;&#xA;echo f | xcopy /y &quot;$(ProjectDir)README.md&quot; &quot;$(ProjectDir)$(ConfigurationName)\BepInEx\plugins\$(ProjectName)\README.txt&quot;" />
</Target>
</Project>
4 changes: 3 additions & 1 deletion src/Fix/STFUFix/BetterNodeCheckPatches.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using HarmonyLib;
/*
using HarmonyLib;
using KSP.Game;
using KSP.Messages;
using KSP.Sim;
Expand Down Expand Up @@ -474,3 +475,4 @@ public static bool BetterCalculateOdeManeuverNodes(ManeuverPlanSolver __instance
return false;
}
}
*/
2 changes: 1 addition & 1 deletion src/Fix/STFUFix/BogusMessageSuppressionFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class SuppressTransmissionsFalselyUrgentFix : BaseFix
public static SuppressTransmissionsFalselyUrgentFix Instance;

// Community Fix config parameters specific to this fix
internal static ConfigEntry<bool> _allowAllNodes;
// internal static ConfigEntry<bool> _allowAllNodes;

public SuppressTransmissionsFalselyUrgentFix()
{
Expand Down

0 comments on commit ca64c4e

Please sign in to comment.