summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-05-29 01:32:28 +0200
committerPetr Mrázek <peterix@gmail.com>2017-05-31 09:20:24 +0200
commitcdc9bed83f9110bdf41133a3489ed2fca543ee32 (patch)
tree19fe215b438f1b6d63b6b45a31b587496d8c4d8a /api/logic/minecraft
parent7acf1998eb0683860dc21fc740f1e6bd42f54169 (diff)
downloadMultiMC-cdc9bed83f9110bdf41133a3489ed2fca543ee32.tar
MultiMC-cdc9bed83f9110bdf41133a3489ed2fca543ee32.tar.gz
MultiMC-cdc9bed83f9110bdf41133a3489ed2fca543ee32.tar.lz
MultiMC-cdc9bed83f9110bdf41133a3489ed2fca543ee32.tar.xz
MultiMC-cdc9bed83f9110bdf41133a3489ed2fca543ee32.zip
NOISSUE move some zip utility functions back to quazip
It's not entirely clean yet.
Diffstat (limited to 'api/logic/minecraft')
-rw-r--r--api/logic/minecraft/launch/ExtractNatives.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/api/logic/minecraft/launch/ExtractNatives.cpp b/api/logic/minecraft/launch/ExtractNatives.cpp
index 9f36f8f4..f30dea89 100644
--- a/api/logic/minecraft/launch/ExtractNatives.cpp
+++ b/api/logic/minecraft/launch/ExtractNatives.cpp
@@ -18,7 +18,6 @@
#include <launch/LaunchTask.h>
#include <quazip.h>
-#include <JlCompress.h>
#include <quazipdir.h>
#include "MMCZip.h"
#include "FileSystem.h"
@@ -54,7 +53,7 @@ static bool unzipNatives(QString source, QString targetFolder, bool applyJnilibH
name = replaceSuffix(name, ".jnilib", ".dylib");
}
QString absFilePath = directory.absoluteFilePath(name);
- if (!MMCZip::extractFile(&zip, "", absFilePath))
+ if (!JlCompress::extractFile(&zip, "", absFilePath))
{
return false;
}