Skip to content

Commit

Permalink
Publishable
Browse files Browse the repository at this point in the history
  • Loading branch information
tryashtar committed Aug 22, 2022
1 parent 5a84644 commit 094062c
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 1 deletion.
23 changes: 23 additions & 0 deletions ImageMap4/ImageMap4.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@
<UseWPF>true</UseWPF>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<ApplicationIcon>icon.ico</ApplicationIcon>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>false</SelfContained>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<RootNamespace>ImageMap4</RootNamespace>
<AssemblyName>ImageMap</AssemblyName>
<Authors>tryashtar</Authors>
<Company />
<Product>Image Map</Product>
<Description>Converts images to maps for Minecraft</Description>
<Copyright>Copyright © 2022 tryashtar</Copyright>
<PackageProjectUrl>https://github.com/tryashtar/image-map</PackageProjectUrl>
<RepositoryUrl>https://github.com/tryashtar/image-map</RepositoryUrl>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
<FileVersion>4.0.0.0</FileVersion>
<Version>4.0.0</Version>
<SignAssembly>false</SignAssembly>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -98,4 +114,11 @@
</Page>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy /y &quot;$(SolutionDir)leveldb_mcpe_win_amd64.dll&quot; &quot;$(ProjectDir)$(OutDir)&quot;&#xD;&#xA;xcopy /y &quot;$(SolutionDir)leveldb_mcpe_win32.dll&quot; &quot;$(ProjectDir)$(OutDir)&quot;&#xD;&#xA;if $(ConfigurationName) == Release (powershell Compress-Archive -Path '$(TargetDir)*.dll', '$(TargetDir)*.exe' -DestinationPath '$(TargetDir)ImageMap4.zip' -Force)" />
</Target>
<Target Name="Test" AfterTargets="Publish">
<Exec Command="xcopy /y &quot;$(SolutionDir)leveldb_mcpe_win_amd64.dll&quot; &quot;$(ProjectDir)bin\Publish&quot;&#xD;&#xA;xcopy /y &quot;$(SolutionDir)leveldb_mcpe_win32.dll&quot; &quot;$(ProjectDir)bin\Publish&quot;&#xD;&#xA;powershell Compress-Archive -Path '$(ProjectDir)bin\Publish\*.dll', '$(ProjectDir)bin\Publish\*.exe' -DestinationPath '$(ProjectDir)bin\Publish\ImageMap4.zip' -Force" />
</Target>

</Project>
32 changes: 31 additions & 1 deletion ImageMap4/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added leveldb_mcpe_win32.dll
Binary file not shown.
Binary file added leveldb_mcpe_win_amd64.dll
Binary file not shown.

0 comments on commit 094062c

Please sign in to comment.