diff options
author | flow <flowlnlnln@gmail.com> | 2022-12-30 14:06:07 -0300 |
---|---|---|
committer | flow <flowlnlnln@gmail.com> | 2023-02-05 17:02:56 -0300 |
commit | b724607e31d102c50cb42225b4a31f2932b2eb61 (patch) | |
tree | f0423b42963792de93716d20815f1cf792962629 /launcher/modplatform | |
parent | c3ea303a3742c886aae9e05d2e5f5fbb497260a1 (diff) | |
download | PrismLauncher-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')
-rw-r--r-- | launcher/modplatform/ModIndex.h | 2 | ||||
-rw-r--r-- | launcher/modplatform/modrinth/ModrinthAPI.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/launcher/modplatform/ModIndex.h b/launcher/modplatform/ModIndex.h index b1f8050d..40f1efc4 100644 --- a/launcher/modplatform/ModIndex.h +++ b/launcher/modplatform/ModIndex.h @@ -30,7 +30,7 @@ namespace ModPlatform { enum class ResourceProvider { MODRINTH, FLAME }; -enum class ResourceType { MOD, RESOURCE_PACK }; +enum class ResourceType { MOD, RESOURCE_PACK, SHADER_PACK }; class ProviderCapabilities { public: 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; |