diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-04-12 22:50:52 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-13 00:53:59 +0200 |
commit | 4d8f068f9cc576c7d1fb19551cb2429282a7c449 (patch) | |
tree | a5f064cbee770aa04f563c19a9dde37c8416d9a6 /logic/minecraft/LegacyUpdate.cpp | |
parent | 1f9dd45e498b812a4884ce8221f9ee8250f475df (diff) | |
download | MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.gz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.lz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.tar.xz MultiMC-4d8f068f9cc576c7d1fb19551cb2429282a7c449.zip |
NOISSUE refactor and rearrange zip file utils
Diffstat (limited to 'logic/minecraft/LegacyUpdate.cpp')
-rw-r--r-- | logic/minecraft/LegacyUpdate.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/logic/minecraft/LegacyUpdate.cpp b/logic/minecraft/LegacyUpdate.cpp index e2fffbb3..6c0a4cdf 100644 --- a/logic/minecraft/LegacyUpdate.cpp +++ b/logic/minecraft/LegacyUpdate.cpp @@ -17,14 +17,13 @@ #include <pathutils.h> #include <quazip.h> #include <quazipfile.h> -#include <JlCompress.h> #include <QDebug> #include "Env.h" #include "BaseInstance.h" #include "net/URLConstants.h" +#include "MMCZip.h" -#include "minecraft/JarUtils.h" #include "minecraft/LegacyUpdate.h" #include "minecraft/LwjglVersionList.h" #include "minecraft/MinecraftVersionList.h" @@ -455,7 +454,7 @@ void LegacyUpdate::ModTheJar() QString outputJarPath = runnableJar.filePath(); QString inputJarPath = baseJar.filePath(); - if(!JarUtils::createModdedJar(inputJarPath, outputJarPath, modList)) + if(!MMCZip::createModdedJar(inputJarPath, outputJarPath, modList)) { emitFailed(tr("Failed to create the custom Minecraft jar file.")); return; |