GH-967 make libraries handle their own path prefix

Makes it possible to mix libraries managed by FTB and MultiMC
Backport from unstable
This commit is contained in:
Petr Mrázek
2015-05-27 01:30:18 +02:00
parent 50a4a1e19e
commit f9e186ab70
9 changed files with 82 additions and 29 deletions

View File

@ -227,8 +227,8 @@ void OneSixUpdate::jarlibStart()
continue;
}
QString raw_storage = lib->storagePath();
QString raw_dl = lib->downloadUrl();
QString raw_storage = lib->storageSuffix();
QString raw_dl = lib->url().toString();
auto f = [&](QString storage, QString dl)
{