``Working'' forge unpackers. Needs a lot of hardening but good for alpha.
This commit is contained in:
parent
604162acdf
commit
8b0f8b9e59
21 changed files with 413 additions and 36 deletions
|
@ -100,11 +100,16 @@ bool ForgeInstaller::apply(QSharedPointer<OneSixVersion> to)
|
|||
for (auto lib : m_forge_version->libraries)
|
||||
{
|
||||
QString libName = lib->name();
|
||||
// WARNING: This could actually break.
|
||||
// if this is the actual forge lib, set an absolute url for the download
|
||||
if (libName.contains("minecraftforge"))
|
||||
{
|
||||
lib->setAbsoluteUrl(m_universal_url);
|
||||
}
|
||||
else if (libName.contains("scala"))
|
||||
{
|
||||
lib->setHint("forge-pack-xz");
|
||||
}
|
||||
if (blacklist.contains(libName))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue