Added plugin post build events

This commit is contained in:
SpoinkyNL committed 2019-04-14 23:23:42 +02:00
1 parent 0b3fa7a53a
commit c9277ecc4e
6 files changed
+23 -5

No files matched your search

@@ -78,6 +78,12 @@
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="plugin.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</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>
@@ -20,7 +20,6 @@ namespace Artemis.Plugins.LayerTypes.Brush
public void DisablePlugin()
{
throw new NotImplementedException();
}
public void Update(Layer layer)
@@ -0,0 +1,5 @@
{
"Name": "Brush layer",
"Version": "1.0.0",
"Main": "Artemis.Plugins.LayerTypes.Brush.dll"
}