diff options
author | flow <thiagodonato300@gmail.com> | 2022-04-13 19:16:36 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2022-05-23 14:42:22 -0300 |
commit | b30b88716e67de93ea1c97d9dfd02a41af5428f3 (patch) | |
tree | df418d6c9c2b9519e57113714addbe456bca3e3b /launcher/modplatform/modrinth/ModrinthPackIndex.cpp | |
parent | dca4ea5ceaa30f1285570d2bf32ea112118b9204 (diff) | |
download | PrismLauncher-b30b88716e67de93ea1c97d9dfd02a41af5428f3.tar.gz PrismLauncher-b30b88716e67de93ea1c97d9dfd02a41af5428f3.tar.bz2 PrismLauncher-b30b88716e67de93ea1c97d9dfd02a41af5428f3.zip |
feat: add very early mod.toml packwiz support
Also use it as a on-disk format for storing mod metadata. This will be
used later on to make better mod managment.
Diffstat (limited to 'launcher/modplatform/modrinth/ModrinthPackIndex.cpp')
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthPackIndex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackIndex.cpp b/launcher/modplatform/modrinth/ModrinthPackIndex.cpp index f7fa9864..6c8659dc 100644 --- a/launcher/modplatform/modrinth/ModrinthPackIndex.cpp +++ b/launcher/modplatform/modrinth/ModrinthPackIndex.cpp @@ -28,6 +28,7 @@ static ModrinthAPI api; void Modrinth::loadIndexedPack(ModPlatform::IndexedPack& pack, QJsonObject& obj) { pack.addonId = Json::requireString(obj, "project_id"); + pack.provider = ModPlatform::Provider::MODRINTH; pack.name = Json::requireString(obj, "title"); QString slug = Json::ensureString(obj, "slug", ""); |