mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Merge remote-tracking branch 'upstream/staging' into chore/add-compiler-warnings
This commit is contained in:
commit
ef6f9487f4
97 changed files with 2445 additions and 1611 deletions
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#include "BaseEntity.h"
|
||||
|
||||
#include "net/Download.h"
|
||||
#include "net/ApiDownload.h"
|
||||
#include "net/HttpMetaCache.h"
|
||||
#include "net/NetJob.h"
|
||||
#include "Json.h"
|
||||
|
|
@ -130,7 +130,7 @@ void Meta::BaseEntity::load(Net::Mode loadType)
|
|||
auto url = this->url();
|
||||
auto entry = APPLICATION->metacache()->resolveEntry("meta", localFilename());
|
||||
entry->setStale(true);
|
||||
auto dl = Net::Download::makeCached(url, entry);
|
||||
auto dl = Net::ApiDownload::makeCached(url, entry);
|
||||
/*
|
||||
* The validator parses the file and loads it into the object.
|
||||
* If that fails, the file is not written to storage.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue