From 8021fb25d0778bbc88bbfa052fcf2572807ee0f5 Mon Sep 17 00:00:00 2001 From: kb1000 Date: Sun, 7 Jun 2020 17:46:12 +0200 Subject: 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. --- api/logic/InstanceImportTask.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'api/logic/InstanceImportTask.h') diff --git a/api/logic/InstanceImportTask.h b/api/logic/InstanceImportTask.h index d326391b..1e19354b 100644 --- a/api/logic/InstanceImportTask.h +++ b/api/logic/InstanceImportTask.h @@ -1,3 +1,18 @@ +/* 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. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + #pragma once #include "InstanceTask.h" @@ -29,6 +44,7 @@ private: void processZipPack(); void processMultiMC(); void processFlame(); + void processTechnic(); private slots: void downloadSucceeded(); @@ -49,6 +65,7 @@ private: /* data */ enum class ModpackType{ Unknown, MultiMC, - Flame + Flame, + Technic } m_modpackType = ModpackType::Unknown; }; -- cgit