refactor: bring back methods that need to be reimplemented

This commit is contained in:
Sefa Eyeoglu
2022-01-24 23:02:06 +01:00
parent 3aa809b8c0
commit 81c72c2038
3 changed files with 104 additions and 9 deletions

View File

@ -42,7 +42,6 @@ void ModMinecraftJar::executeTask()
emitFailed(tr("Couldn't remove stale jar file: %1").arg(finalJarPath));
}
/*
// create temporary modded jar, if needed
auto components = m_inst->getPackProfile();
auto profile = components->getProfile();
@ -54,13 +53,12 @@ void ModMinecraftJar::executeTask()
mainJar->getApplicableFiles(currentSystem, jars, temp1, temp2, temp3, m_inst->getLocalLibraryPath());
auto sourceJarPath = jars[0];
if(!MMCZip::createModdedJar(sourceJarPath, finalJarPath, jarMods))
{ */
// TODO: add back support for modded jar
{
emitFailed(tr("Failed to create the custom Minecraft jar file."));
return;
/*}
}
}
emitSucceeded();*/
emitSucceeded();
}
void ModMinecraftJar::finalize()