Fix compression notification for .szs files if not compressed.
This commit is contained in:
parent
8101515b18
commit
1ed76ac2ac
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user