Merge pull request #2718 from cthbleachbit/develop

mangohud support: MangoHud::getLibraryString should return absolute path
This commit is contained in:
Alexandru Ionut Tripon
2024-08-12 11:26:30 +03:00
committed by GitHub
2 changed files with 23 additions and 9 deletions

View File

@ -608,7 +608,7 @@ QProcessEnvironment MinecraftInstance::createLaunchEnvironment()
// dlsym variant is only needed for OpenGL and not included in the vulkan layer
appendLib("libMangoHud_dlsym.so");
appendLib("libMangoHud_opengl.so");
appendLib(mangoHudLib.fileName());
preloadList << mangoHudLibString;
}
env.insert("LD_PRELOAD", preloadList.join(QLatin1String(":")));