Skip to content

Commit

Permalink
Fix GUI packing
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowth117 committed Mar 18, 2022
1 parent ea706ae commit 394d9c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Zamboni/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ public static StringBuilder ListIce(string basePath, string currFile)
}
extension = extension.Replace("?", "");

var stringOut = currFile.Replace(basePath, "") + " " + extension;
var path = currFile.Replace(basePath, "");
var stringOut = path + " " + extension;
stringOut = stringOut.Substring(1);
sb.AppendLine(stringOut);
#if DEBUG
Expand All @@ -582,7 +583,7 @@ public static StringBuilder ListIce(string basePath, string currFile)
sb.AppendLine(" Group 1 Contents:");
foreach (var file in iceFile.groupOneFiles)
{
sb.AppendLine(" " + IceFile.getFileName(file));
sb.AppendLine(" " + path + " " + IceFile.getFileName(file));
}
}

Expand All @@ -591,7 +592,7 @@ public static StringBuilder ListIce(string basePath, string currFile)
sb.AppendLine(" Group 2 Contents:");
foreach (var file in iceFile.groupTwoFiles)
{
sb.AppendLine(" " + IceFile.getFileName(file));
sb.AppendLine(" " + path + " " + IceFile.getFileName(file));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Zamboni/NicerForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private void packIceButton_Click(object sender, EventArgs e)
return;
UILogic.packIceFromDirectoryToFile(batchFolderBrowserDialog.FileName,
UILogic.ReadWhiteList(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "group1.txt")),
searchSubCheck.Checked, useGroupFolders.Checked, false, false);
searchSubCheck.Checked, false, useGroupFolders.Checked, false, null);
}

private void batchListIceContentsButton_Click(object sender, EventArgs e)
Expand Down

0 comments on commit 394d9c8

Please sign in to comment.