mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-04 11:34:50 -04:00
NOISSUE update FTB URLs
This commit is contained in:
1 parent
4b7971f60f
commit
ec2732ccd1
4 files changed
+13
-6
No files matched your search
@@ -9,6 +9,8 @@
|
||||
#include "minecraft/ComponentList.h"
|
||||
#include "minecraft/GradleSpecifier.h"
|
||||
|
||||
#include "net/URLConstants.h"
|
||||
|
||||
FtbPackInstallTask::FtbPackInstallTask(FtbModpack pack, QString version)
|
||||
{
|
||||
m_pack = pack;
|
||||
@@ -32,11 +34,11 @@ void FtbPackInstallTask::downloadPack()
|
||||
QString url;
|
||||
if(m_pack.type == FtbPackType::Private)
|
||||
{
|
||||
url = QString("https://ftb.cursecdn.com/FTB2/privatepacks/%1").arg(packoffset);
|
||||
url = QString(URLConstants::FTB_CDN_BASE_URL + "privatepacks/%1").arg(packoffset);
|
||||
}
|
||||
else
|
||||
{
|
||||
url = QString("https://ftb.cursecdn.com/FTB2/modpacks/%1").arg(packoffset);
|
||||
url = QString(URLConstants::FTB_CDN_BASE_URL + "modpacks/%1").arg(packoffset);
|
||||
}
|
||||
job->addNetAction(Net::Download::makeCached(url, entry));
|
||||
archivePath = entry->getFullPath();
|
||||
|
||||
Reference in new issue
Block a user