mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 12:26:58 +03:00
NOISSUE add instance-local library storage
Any libraries stored in $instanceroot/libraries/ will override the libraries from MultiMC's global folders, as long as they are marked 'local' in the json patch.
This commit is contained in:
parent
69f3ab019d
commit
6e80f03409
13 changed files with 182 additions and 45 deletions
|
|
@ -42,7 +42,7 @@ void LibrariesTask::executeTask()
|
|||
QStringList failedFiles;
|
||||
for (auto lib : libs)
|
||||
{
|
||||
auto dls = lib->getDownloads(currentSystem, metacache.get(), failedFiles);
|
||||
auto dls = lib->getDownloads(currentSystem, metacache.get(), failedFiles, inst->getLocalLibraryPath());
|
||||
for(auto dl : dls)
|
||||
{
|
||||
downloadJob->addNetAction(dl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue