File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Assets/PatchKit Patcher/Scripts/AppData/Local Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11using System ;
22using System . IO ;
3- using System . IO . Compression ;
43using System . Security . Cryptography ;
54using System . Text ;
5+ using Ionic . Zlib ;
66using PatchKit . Unity . Patcher . Cancellation ;
77using PatchKit . Unity . Patcher . Data ;
88using PatchKit . Unity . Patcher . Debug ;
99using PatchKit . Unity . Utilities ;
10+ using CompressionMode = System . IO . Compression . CompressionMode ;
1011
1112namespace PatchKit . Unity . Patcher . AppData . Local
1213{
@@ -124,7 +125,7 @@ private void UnpackRegularFile(Pack1Meta.FileEntry file)
124125 ICryptoTransform decryptor = rijn . CreateDecryptor ( _key , _iv ) ;
125126 using ( var cryptoStream = new CryptoStream ( limitedStream , decryptor , CryptoStreamMode . Read ) )
126127 {
127- using ( var gzipStream = new GZipStream ( cryptoStream , CompressionMode . Decompress ) )
128+ using ( var gzipStream = new GZipStream ( cryptoStream , Ionic . Zlib . CompressionMode . Decompress ) )
128129 {
129130 using ( var fileWritter = new FileStream ( destPath , FileMode . CreateNew ) )
130131 {
You can’t perform that action at this time.
0 commit comments