mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 10:29:59 +03:00
GH-640 Make legacy forge downloads follow redirects
This commit is contained in:
parent
7778c84121
commit
5af1f0cf50
1 changed files with 3 additions and 1 deletions
|
|
@ -113,7 +113,9 @@ void LegacyJarModPage::on_addForgeBtn_clicked()
|
|||
if (entry->stale)
|
||||
{
|
||||
NetJob *fjob = new NetJob("Forge download");
|
||||
fjob->addNetAction(CacheDownload::make(forge->universal_url, entry));
|
||||
auto cacheDl = CacheDownload::make(forge->universal_url, entry);
|
||||
cacheDl->m_followRedirects = true;
|
||||
fjob->addNetAction(cacheDl);
|
||||
ProgressDialog dlg(this);
|
||||
dlg.exec(fjob);
|
||||
if (dlg.result() == QDialog::Accepted)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue