mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
Add small tweak to make forge work
This commit is contained in:
parent
183a735145
commit
091b7502cf
1 changed files with 6 additions and 0 deletions
|
|
@ -104,6 +104,12 @@ QSharedPointer<FullVersion> FullVersionFactory::parse4(QJsonObject root, QShared
|
|||
continue;
|
||||
QSharedPointer<Library> library(new Library(nameVal.toString()));
|
||||
|
||||
auto urlVal = libObj.value("url");
|
||||
if(urlVal.isString())
|
||||
{
|
||||
library->setBaseUrl(urlVal.toString());
|
||||
}
|
||||
|
||||
// Extract excludes (if any)
|
||||
auto extractVal = libObj.value("extract");
|
||||
if(extractVal.isObject())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue