mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 20:12:34 +00:00
Download and cache FML libs for legacy minecraft versions.
* minor fix for version filtering (1.5 no longer shows forge for 1.5.1 and 1.5.2) * FML libs are downloaded to mods/minecraftforge/libs and cached * FML libs are copied to instances which contain FML or forge
This commit is contained in:
@@ -27,6 +27,13 @@ class BaseInstance;
|
||||
class QuaZip;
|
||||
class Mod;
|
||||
|
||||
struct FMLlib
|
||||
{
|
||||
QString name;
|
||||
QString checksum;
|
||||
bool ours;
|
||||
};
|
||||
|
||||
class LegacyUpdate : public Task
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -44,6 +51,10 @@ slots:
|
||||
void jarFinished();
|
||||
void jarFailed();
|
||||
|
||||
void fmllibsStart();
|
||||
void fmllibsFinished();
|
||||
void fmllibsFailed();
|
||||
|
||||
void extractLwjgl();
|
||||
|
||||
void ModTheJar();
|
||||
@@ -72,4 +83,6 @@ private:
|
||||
private:
|
||||
NetJobPtr legacyDownloadJob;
|
||||
BaseInstance *m_inst = nullptr;
|
||||
QList<FMLlib> fmlLibsToProcess;
|
||||
QMap<QString, QList<FMLlib>> fmlLibsMapping;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user