mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-03 14:12:11 +00:00
NOISSUE Support installing CurseForge packs on modpacks.ch
There should be all the needed changes to install CurseForge modpacks through modpacks.ch in place now. Now the effort will need to move towards getting the GUI aspects to play nice.
This commit is contained in:
committed by
Petr Mrázek
parent
8c1d95b484
commit
f7acde4389
@@ -18,6 +18,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "FTBPackManifest.h"
|
||||
#include "MCHPackType.h"
|
||||
|
||||
#include "InstanceTask.h"
|
||||
#include "net/NetJob.h"
|
||||
@@ -29,7 +30,7 @@ class PackInstallTask : public InstanceTask
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PackInstallTask(Modpack pack, QString version);
|
||||
explicit PackInstallTask(Modpack pack, QString version, PackType type = PackType::ModpacksCH);
|
||||
virtual ~PackInstallTask(){}
|
||||
|
||||
bool canAbort() const override { return true; }
|
||||
@@ -56,6 +57,8 @@ private:
|
||||
QString m_version_name;
|
||||
Version m_version;
|
||||
|
||||
PackType m_pack_type;
|
||||
|
||||
QMap<QString, VersionFile> filesToExtract;
|
||||
QMap<QString, QString> filesToCopy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user