aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/modrinth
diff options
context:
space:
mode:
authorflow <flowlnlnln@gmail.com>2022-12-30 14:06:07 -0300
committerflow <flowlnlnln@gmail.com>2023-02-05 17:02:56 -0300
commitb724607e31d102c50cb42225b4a31f2932b2eb61 (patch)
treef0423b42963792de93716d20815f1cf792962629 /launcher/modplatform/modrinth
parentc3ea303a3742c886aae9e05d2e5f5fbb497260a1 (diff)
downloadPrismLauncher-b724607e31d102c50cb42225b4a31f2932b2eb61.tar.gz
PrismLauncher-b724607e31d102c50cb42225b4a31f2932b2eb61.tar.bz2
PrismLauncher-b724607e31d102c50cb42225b4a31f2932b2eb61.zip
feat(RD): add shader pack downloader
Signed-off-by: flow <flowlnlnln@gmail.com>
Diffstat (limited to 'launcher/modplatform/modrinth')
-rw-r--r--launcher/modplatform/modrinth/ModrinthAPI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthAPI.h b/launcher/modplatform/modrinth/ModrinthAPI.h
index 0b2d149e..b91ac5c1 100644
--- a/launcher/modplatform/modrinth/ModrinthAPI.h
+++ b/launcher/modplatform/modrinth/ModrinthAPI.h
@@ -70,6 +70,8 @@ class ModrinthAPI : public NetworkResourceAPI {
return "mod";
case ModPlatform::ResourceType::RESOURCE_PACK:
return "resourcepack";
+ case ModPlatform::ResourceType::SHADER_PACK:
+ return "shader";
default:
qWarning() << "Invalid resource type for Modrinth API!";
break;