Skip to content

Commit

Permalink
Fixed Displayname be the whole path when manifest doesn't have a name
Browse files Browse the repository at this point in the history
  • Loading branch information
L3tum committed Apr 2, 2018
1 parent 23c7102 commit 36c7197
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KCDModMerger/Mods/Mod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Mod(string folderName, StringBuilder logger = null)
logBuilder.AppendLine(Logger.BuildLogWithDate("Initializing Manifest"));

manifest = new ModManifest(folderName + "\\mod.manifest", logBuilder);
manifest.DisplayName = folderName;
manifest.DisplayName = folderName.Split('\\').Last();
manifest.ReadManifest();

logBuilder.AppendLine(Logger.BuildLogWithDate("Initialized Manifest!"));
Expand Down
Binary file modified KCDModMerger/bin/Release/KCDModMerger.exe
Binary file not shown.
Binary file modified KCDModMerger/bin/Release/KCDModMerger.pdb
Binary file not shown.
Binary file modified KCDModMerger/bin/Release/KCDModMerger.zip
Binary file not shown.

0 comments on commit 36c7197

Please sign in to comment.