Update AddonLoader.cs

This commit is contained in:
Bitl 2021-04-05 11:02:52 -07:00
parent bc46a8df07
commit 8fbe9e5605
1 changed files with 6 additions and 2 deletions

View File

@ -56,8 +56,12 @@ public class AddonLoader
foreach (ZipEntry entry in entries)
{
filelistbuilder.Append(entry.FileName + " (" + entry.UncompressedSize + ")");
filelistbuilder.Append(Environment.NewLine);
filelistbuilder.Append(!entry.IsDirectory ? (entry.FileName + " (" + entry.UncompressedSize + " KB)" + Environment.NewLine) : "");
if (!entry.IsDirectory)
{
filecount++;
}
}
zipFile.ExtractAll(GlobalPaths.BasePath, ExtractExistingFileAction.OverwriteSilently);