Added plugin post build events

This commit is contained in:
SpoinkyNL committed 2019-04-14 23:23:42 +02:00
1 parent cdda228713
commit 083119dae2
6 files changed
+23 -5

No files matched your search

@@ -73,7 +73,9 @@
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="plugin.json" />
<None Include="plugin.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Artemis.Core\Artemis.Core.csproj">
@@ -89,4 +91,7 @@
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>(robocopy $(TargetDir) %25ProgramData%25\Artemis\plugins\$(ProjectName) /NFL /NDL /NJH /NJS /nc /ns /np) ^&amp; IF %25ERRORLEVEL%25 LEQ 4 exit /B 0</PostBuildEvent>
</PropertyGroup>
</Project>
@@ -73,7 +73,6 @@ namespace Artemis.Plugins.Modules.General
public void DisablePlugin()
{
throw new NotImplementedException();
}
private void UpdateLedColor(Led led, double deltaTime)