GH-1140 mark cached modpack dls as stale so it checks the server
This commit is contained in:
parent
c5bb33c716
commit
b6ec2ac4b0
@ -1061,6 +1061,7 @@ void MainWindow::instanceFromZipPack(QString instName, QString instGroup, QStrin
|
||||
{
|
||||
const QString path = url.host() + '/' + url.path();
|
||||
auto entry = ENV.metacache()->resolveEntry("general", path);
|
||||
entry->stale = true;
|
||||
CacheDownloadPtr dl = CacheDownload::make(url, entry);
|
||||
NetJob job(tr("Modpack download"));
|
||||
job.addNetAction(dl);
|
||||
|
Loading…
Reference in New Issue
Block a user