NOISSUE refactor and rearrange zip file utils
This commit is contained in:
parent
1f9dd45e49
commit
4d8f068f9c
10 changed files with 404 additions and 436 deletions
|
@ -33,7 +33,7 @@
|
|||
#include "forge/ForgeMirrors.h"
|
||||
#include "net/URLConstants.h"
|
||||
#include "minecraft/AssetsUtils.h"
|
||||
#include "minecraft/JarUtils.h"
|
||||
#include "MMCZip.h"
|
||||
|
||||
OneSixUpdate::OneSixUpdate(OneSixInstance *inst, QObject *parent) : Task(parent), m_inst(inst)
|
||||
{
|
||||
|
@ -320,7 +320,7 @@ void OneSixUpdate::jarlibFinished()
|
|||
auto metacache = ENV.metacache();
|
||||
auto entry = metacache->resolveEntry("versions", localPath);
|
||||
QString fullJarPath = entry->getFullPath();
|
||||
if(!JarUtils::createModdedJar(sourceJarPath, finalJarPath, jarMods))
|
||||
if(!MMCZip::createModdedJar(sourceJarPath, finalJarPath, jarMods))
|
||||
{
|
||||
emitFailed(tr("Failed to create the custom Minecraft jar file."));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue