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
17 17
 				switch(args[i])
18 18
 				{
19 19
 					case "--help":
20
-						string helpText = Utilities.GetEmbeddedResourceContent("SpritePacker.Help.txt");
20
+						string helpText = Utilities.GetEmbeddedResourceContent("SpritePacker.Resources.Help.txt");
21 21
 						string commitHash = Utilities.GetEmbeddedResourceContent("SpritePacker.latest-commit-hash.txt").Trim();
22 22
 						Dictionary<string, string> templateValues = new Dictionary<string, string>() {
23 23
 							{ "version", Utilities.GetProgramVersion().ToString() },

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


+ 4
- 1
SpritePacker/SpritePacker.csproj View File

@@ -45,7 +45,10 @@
45 45
   </ItemGroup>
46 46
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
47 47
   <ItemGroup>
48
-    <EmbeddedResource Include="Help.txt" />
48
+    <EmbeddedResource Include="Resources\Help.txt" />
49 49
     <EmbeddedResource Include="latest-commit-hash.txt" />
50 50
   </ItemGroup>
51
+  <ItemGroup>
52
+    <Folder Include="Resources\" />
53
+  </ItemGroup>
51 54
 </Project>

Loading…
Cancel
Save