mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-19 18:37:14 +00:00
HACK add option to launch without a main jar
This commit is contained in:
@@ -45,7 +45,11 @@ void LibrariesTask::executeTask()
|
||||
QList<LibraryPtr> libArtifactPool;
|
||||
libArtifactPool.append(profile->getLibraries());
|
||||
libArtifactPool.append(profile->getNativeLibraries());
|
||||
libArtifactPool.append(profile->getMainJar());
|
||||
auto mainJar = profile->getMainJar();
|
||||
if(mainJar)
|
||||
{
|
||||
libArtifactPool.append(mainJar);
|
||||
}
|
||||
processArtifactPool(libArtifactPool, failedLocalLibraries, inst->getLocalLibraryPath());
|
||||
|
||||
QStringList failedLocalJarMods;
|
||||
|
||||
Reference in New Issue
Block a user