Update AddonLoader.cs
This commit is contained in:
parent
bc46a8df07
commit
8fbe9e5605
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue