CurseForge shader downloading

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2023-09-04 14:13:44 +01:00
parent caf925cbad
commit 94c1cd6bcf
No known key found for this signature in database
GPG key ID: 5E39D70B4C93C38E
6 changed files with 115 additions and 0 deletions

View file

@ -370,6 +370,8 @@ QList<BasePage*> ShaderPackDownloadDialog::getPages()
{
QList<BasePage*> pages;
pages.append(ModrinthShaderPackPage::create(this, *m_instance));
if (APPLICATION->capabilities() & Application::SupportsFlame)
pages.append(FlameShaderPackPage::create(this, *m_instance));
return pages;
}