Skip to content

Commit 094062c

Browse files
committed
Publishable
1 parent 5a84644 commit 094062c

4 files changed

Lines changed: 54 additions & 1 deletion

File tree

ImageMap4/ImageMap4.csproj

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,22 @@
77
<UseWPF>true</UseWPF>
88
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
99
<ApplicationIcon>icon.ico</ApplicationIcon>
10+
<PublishSingleFile>true</PublishSingleFile>
11+
<SelfContained>false</SelfContained>
12+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
13+
<RootNamespace>ImageMap4</RootNamespace>
14+
<AssemblyName>ImageMap</AssemblyName>
15+
<Authors>tryashtar</Authors>
16+
<Company />
17+
<Product>Image Map</Product>
18+
<Description>Converts images to maps for Minecraft</Description>
19+
<Copyright>Copyright © 2022 tryashtar</Copyright>
20+
<PackageProjectUrl>https://github.com/tryashtar/image-map</PackageProjectUrl>
21+
<RepositoryUrl>https://github.com/tryashtar/image-map</RepositoryUrl>
22+
<AssemblyVersion>4.0.0.0</AssemblyVersion>
23+
<FileVersion>4.0.0.0</FileVersion>
24+
<Version>4.0.0</Version>
25+
<SignAssembly>false</SignAssembly>
1026
</PropertyGroup>
1127

1228
<ItemGroup>
@@ -98,4 +114,11 @@
98114
</Page>
99115
</ItemGroup>
100116

117+
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
118+
<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)" />
119+
</Target>
120+
<Target Name="Test" AfterTargets="Publish">
121+
<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" />
122+
</Target>
123+
101124
</Project>

ImageMap4/Properties/Resources.Designer.cs

Lines changed: 31 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

leveldb_mcpe_win32.dll

365 KB
Binary file not shown.

leveldb_mcpe_win_amd64.dll

432 KB
Binary file not shown.

0 commit comments

Comments
 (0)