diff options
author | kb1000 <kaeptmblaubaer1000@gmail.com> | 2020-06-07 17:46:12 +0200 |
---|---|---|
committer | kb1000 <kaeptmblaubaer1000@gmail.com> | 2020-10-13 21:34:16 +0200 |
commit | 8021fb25d0778bbc88bbfa052fcf2572807ee0f5 (patch) | |
tree | 81945f562b0970888b0c037bcacb95b0a8a95f0e /application/dialogs/NewInstanceDialog.cpp | |
parent | 762ddaea6578d552dabaffefd7ea6942776f3eff (diff) | |
download | PrismLauncher-8021fb25d0778bbc88bbfa052fcf2572807ee0f5.tar.gz PrismLauncher-8021fb25d0778bbc88bbfa052fcf2572807ee0f5.tar.bz2 PrismLauncher-8021fb25d0778bbc88bbfa052fcf2572807ee0f5.zip |
GH-469 Implement support for importing and searching for Technic Platform and Solder modpacks
This does not support any custom modpack.jar for 1.6 or newer, it simply uses standard Forge then.
Supports Forge and Fabric, and JAR mods for 1.5 and older.
Diffstat (limited to 'application/dialogs/NewInstanceDialog.cpp')
-rw-r--r-- | application/dialogs/NewInstanceDialog.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/application/dialogs/NewInstanceDialog.cpp b/application/dialogs/NewInstanceDialog.cpp index d8abdbd4..c2887b01 100644 --- a/application/dialogs/NewInstanceDialog.cpp +++ b/application/dialogs/NewInstanceDialog.cpp @@ -1,4 +1,4 @@ -/* Copyright 2013-2019 MultiMC Contributors +/* Copyright 2013-2020 MultiMC Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -38,6 +38,8 @@ #include <pages/modplatform/legacy_ftb/Page.h> #include <pages/modplatform/twitch/TwitchPage.h> #include <pages/modplatform/ImportPage.h> +#include <pages/modplatform/technic/TechnicPage.h> + NewInstanceDialog::NewInstanceDialog(const QString & initialGroup, const QString & url, QWidget *parent) @@ -122,12 +124,14 @@ QList<BasePage *> NewInstanceDialog::getPages() { importPage = new ImportPage(this); twitchPage = new TwitchPage(this); + auto technicPage = new TechnicPage(this); return { new VanillaPage(this), importPage, new FtbPage(this), new LegacyFTB::Page(this), + technicPage, twitchPage }; } |