summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/VersionFile.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2020-03-27 02:23:15 +0100
committerPetr Mrázek <peterix@gmail.com>2020-03-27 02:23:15 +0100
commit0281845fc840fae131856b2fda47be9b8ca1affc (patch)
tree177e1cadd39027e05b53c7ad115f8dfd7d4550ad /api/logic/minecraft/VersionFile.h
parente6cc65cf69b3fb2c1fa08e6768669f826048af20 (diff)
downloadMultiMC-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/VersionFile.h')
-rw-r--r--api/logic/minecraft/VersionFile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/VersionFile.h b/api/logic/minecraft/VersionFile.h
index 3dc9db96..29ddd0bc 100644
--- a/api/logic/minecraft/VersionFile.h
+++ b/api/logic/minecraft/VersionFile.h
@@ -75,6 +75,9 @@ public: /* data */
/// Mojang: list of libraries to add to the version
QList<LibraryPtr> libraries;
+ /// MultiMC: list of maven files to put in the libraries folder, but not in classpath
+ QList<LibraryPtr> mavenFiles;
+
/// The main jar (Minecraft version library, normally)
LibraryPtr mainJar;