ShatteredPrism/launcher/minecraft
Tianhao Chai c2192cfa98
mangohud support: getLibraryString should return absolute path when possible
Some distros ship MangoHub vulkan layer json with bare shared object name
instead of an absolute path. This breaks environment config as
`MinecraftInstance::createLaunchEnvironment()` seems to require absolute
path of `libMangoHud.so`.

Since we already have `MangoHud::findLibrary()` lying around, use that to
figure out where `libMangoHud.so` really is. In case of a platform that
doesn't support `dlopen()`, fallback to old behavior and return the path
verbatim as it is recorded in vk layer json.

Signed-off-by: Tianhao Chai <cth451@gmail.com>
2024-08-09 14:11:44 -04:00
..
auth Restore connect line for device authorization in MSADeviceCodeStep 2024-08-05 22:12:18 +03:00
gameoptions chore: reformat 2023-08-14 18:16:53 +02:00
launch increment clang-tools version 2024-06-28 12:48:52 +03:00
mod Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into disablemods 2024-07-24 11:47:45 +03:00
skins remove duplicate code from net folder 2024-07-07 02:49:27 +03:00
update increment clang-tools version 2024-06-28 12:48:52 +03:00
Agent.h Replace typedef with using 2023-10-24 01:36:27 -07:00
AssetsUtils.cpp Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
AssetsUtils.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
Component.cpp Replaced QFile::remove with FS::deletePath 2024-02-10 11:03:51 +02:00
Component.h Replace typedef with using 2023-10-24 01:36:27 -07:00
ComponentUpdateTask_p.h chore: reformat 2023-08-02 18:35:35 +02:00
ComponentUpdateTask.cpp Added loaders check on versions load 2023-08-23 12:52:51 +03:00
ComponentUpdateTask.h chore: reformat 2023-08-02 18:35:35 +02:00
GradleSpecifier.h chore: update license headers 2023-08-14 18:17:05 +02:00
LaunchProfile.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
LaunchProfile.h chore: update license headers 2023-08-14 18:17:05 +02:00
Library.cpp add docs to Library.cpp 2024-07-06 09:30:26 +03:00
Library.h Removed AuthRequest and NetAction 2024-05-14 00:21:45 +03:00
MinecraftInstance.cpp mangohud support: getLibraryString should return absolute path when possible 2024-08-09 14:11:44 -04:00
MinecraftInstance.h increment clang-tools version 2024-06-28 12:48:52 +03:00
MinecraftLoadAndCheck.cpp chore: reformat 2023-08-14 18:16:53 +02:00
MinecraftLoadAndCheck.h increment clang-tools version 2024-06-28 12:48:52 +03:00
MinecraftUpdate.cpp chore: reformat 2023-08-14 18:16:53 +02:00
MinecraftUpdate.h increment clang-tools version 2024-06-28 12:48:52 +03:00
MojangDownloadInfo.h Replace typedef with using 2023-10-24 01:36:27 -07:00
MojangVersionFormat.cpp remove legacy processArguments code 2023-12-24 22:20:06 -05:00
MojangVersionFormat.h chore: reformat 2023-08-14 18:16:53 +02:00
OneSixVersionFormat.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
OneSixVersionFormat.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
PackProfile_p.h chore: reformat 2023-08-14 18:16:53 +02:00
PackProfile.cpp Merge pull request #2558 from Trial97/update_filters 2024-07-19 15:46:15 +03:00
PackProfile.h Resolve issue with multiple loaders during update 2024-06-24 03:06:10 +03:00
ParseUtils.cpp chore: reformat 2023-08-14 18:16:53 +02:00
ParseUtils.h chore: reformat 2023-08-14 18:16:53 +02:00
ProfileUtils.cpp Fix a few typos 2024-07-18 22:08:18 -04:00
ProfileUtils.h Remove top-level const qualifiers in function declarations 2023-10-28 22:12:09 -07:00
Rule.cpp chore: update license headers 2023-08-04 19:41:47 +02:00
Rule.h chore: update license headers 2023-08-14 18:17:05 +02:00
VanillaInstanceCreationTask.cpp chore: reformat 2023-08-14 18:16:53 +02:00
VanillaInstanceCreationTask.h fix: don't use forward-declared Ptr types in meta/ 2022-11-01 19:48:26 -03:00
VersionFile.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
VersionFile.h chore: update license headers 2023-08-14 18:17:05 +02:00
VersionFilterData.cpp chore: reformat 2023-08-14 18:16:53 +02:00
VersionFilterData.h chore: reformat 2023-08-14 18:16:53 +02:00
World.cpp Fixed folder size 2023-11-15 12:10:47 +02:00
World.h chore: reformat 2023-08-14 18:16:53 +02:00
WorldList.cpp chore: update license headers 2023-08-14 18:17:05 +02:00
WorldList.h chore: reformat 2023-08-14 18:16:53 +02:00