Moved Help.txt to resources folder.

This commit is contained in:
Starbeamrainbowlabs 2016-05-19 19:31:11 +01:00
parent a67f5bbef8
commit 6c2747001b
3 changed files with 5 additions and 2 deletions

View file

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

View file

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