mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 12:26:58 +03:00
Replace QDir("libraries/").absolutePath() with metacache solution
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
cbf2f14b3f
commit
4ae0b3d898
1 changed files with 1 additions and 1 deletions
|
|
@ -1036,7 +1036,7 @@ QMap<QString, QString> MinecraftInstance::makeProfileVarMapping(std::shared_ptr<
|
|||
result["assets_root"] = absAssetsDir;
|
||||
result["assets_index_name"] = assets->id;
|
||||
|
||||
result["library_directory"] = QDir("libraries/").absolutePath();
|
||||
result["library_directory"] = APPLICATION->metacache()->getBasePath("libraries");
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue