Skip to content

Commit

Permalink
new adobe air
Browse files Browse the repository at this point in the history
remove harman splash
new swf loader
added nativemenu
change content checker
new features:
 - apply ingame filter
 - refresh zone (F2 hotkey)
 - specialists manager window (F3, F4)
  • Loading branch information
fedorovvl committed Jul 3, 2022
1 parent 63f9494 commit 0b5f744
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion client/Unzip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public void ExtractToDirectory(string directoryName)
Directory.CreateDirectory(dirName);

// save file if it is not only a directory
if (!entry.IsDirectory && !File.Exists(fileName))
if (!entry.IsDirectory)
{
Extract(entry.Name, fileName);
}
Expand All @@ -253,6 +253,13 @@ public void Extract(string fileName, string outputFileName)
{
var entry = GetEntry(fileName);

if(File.Exists(outputFileName))
{
var fileNameInfo = new FileInfo(outputFileName);
if (fileNameInfo.Length == entry.OriginalSize)
return;
}

using (var outStream = File.Create(outputFileName))
{
Extract(entry, outStream);
Expand Down
Binary file modified client/files/content.zip
Binary file not shown.

0 comments on commit 0b5f744

Please sign in to comment.