Browse Source

Moved Help.txt to resources folder.

tags/v0.1
Starbeamrainbowlabs 3 years ago
parent
commit
6c2747001b
3 changed files with 5 additions and 2 deletions
  1. 1
    1
      SpritePacker/Program.cs
  2. 0
    0
      SpritePacker/Resources/Help.txt
  3. 4
    1
      SpritePacker/SpritePacker.csproj

+ 1
- 1
SpritePacker/Program.cs View File

@@ -17,7 +17,7 @@ namespace SpritePacker
switch(args[i])
{
case "--help":
string helpText = Utilities.GetEmbeddedResourceContent("SpritePacker.Help.txt");
string helpText = Utilities.GetEmbeddedResourceContent("SpritePacker.Resources.Help.txt");
string commitHash = Utilities.GetEmbeddedResourceContent("SpritePacker.latest-commit-hash.txt").Trim();
Dictionary<string, string> templateValues = new Dictionary<string, string>() {
{ "version", Utilities.GetProgramVersion().ToString() },

SpritePacker/Help.txt → SpritePacker/Resources/Help.txt View File


+ 4
- 1
SpritePacker/SpritePacker.csproj View File

@@ -45,7 +45,10 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<EmbeddedResource Include="Help.txt" />
<EmbeddedResource Include="Resources\Help.txt" />
<EmbeddedResource Include="latest-commit-hash.txt" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
</Project>

Loading…
Cancel
Save