diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-03-27 02:23:15 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-03-27 02:23:15 +0100 |
commit | 0281845fc840fae131856b2fda47be9b8ca1affc (patch) | |
tree | 177e1cadd39027e05b53c7ad115f8dfd7d4550ad /api/logic/minecraft/update | |
parent | e6cc65cf69b3fb2c1fa08e6768669f826048af20 (diff) | |
download | MultiMC-0281845fc840fae131856b2fda47be9b8ca1affc.tar MultiMC-0281845fc840fae131856b2fda47be9b8ca1affc.tar.gz MultiMC-0281845fc840fae131856b2fda47be9b8ca1affc.tar.lz MultiMC-0281845fc840fae131856b2fda47be9b8ca1affc.tar.xz MultiMC-0281845fc840fae131856b2fda47be9b8ca1affc.zip |
GH-2544 allow adding files to `libraries` without affecting classpath
This is done by adding library-like objects into the `mavenFiles`
list in version JSONs.
Diffstat (limited to 'api/logic/minecraft/update')
-rw-r--r-- | api/logic/minecraft/update/LibrariesTask.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/logic/minecraft/update/LibrariesTask.cpp b/api/logic/minecraft/update/LibrariesTask.cpp index 912f492b..a000f77f 100644 --- a/api/logic/minecraft/update/LibrariesTask.cpp +++ b/api/logic/minecraft/update/LibrariesTask.cpp @@ -45,6 +45,7 @@ void LibrariesTask::executeTask() QList<LibraryPtr> libArtifactPool; libArtifactPool.append(profile->getLibraries()); libArtifactPool.append(profile->getNativeLibraries()); + libArtifactPool.append(profile->getMavenFiles()); libArtifactPool.append(profile->getMainJar()); processArtifactPool(libArtifactPool, failedLocalLibraries, inst->getLocalLibraryPath()); |