1
0
mirror of synced 2025-02-20 12:41:10 +01:00

Fix compression notification for .szs files if not compressed.

This commit is contained in:
KillzXGaming 2019-10-24 17:29:56 -04:00
parent 8101515b18
commit 1ed76ac2ac

View File

@ -27,7 +27,7 @@ namespace Toolbox.Library.IO
Cursor.Current = Cursors.WaitCursor;
FileFormat.FilePath = FileName;
if (FileFormat.IFileInfo.FileIsCompressed || FileFormat.IFileInfo.InArchive)
if (FileFormat.IFileInfo.FileIsCompressed || FileFormat.IFileInfo.InArchive || Path.GetExtension(FileName) == ".szs")
{
//Todo find more optmial way to handle memory with files in archives
//Also make compression require streams