Files
prismlauncher-crack/launcher
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
..
2023-09-26 20:19:35 +03:00
2024-06-28 12:48:52 +03:00
2024-06-28 12:48:52 +03:00
2024-06-28 12:48:52 +03:00
2024-06-12 19:34:58 +03:00
2024-07-18 22:08:18 -04:00
2024-06-28 12:48:52 +03:00
2024-06-12 00:34:39 +03:00
2023-08-14 18:16:53 +02:00
2024-06-28 12:48:52 +03:00
2023-11-22 20:34:12 +02:00
2023-08-11 10:57:57 +02:00
2023-10-24 01:36:27 -07:00
2023-08-14 18:17:05 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2024-01-03 18:15:03 +01:00
2024-02-12 15:24:56 +00:00
2023-08-14 18:16:53 +02:00
2023-06-03 13:39:42 +01:00
2023-06-03 13:39:42 +01:00
2024-07-29 21:07:28 +08:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:17:05 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-21 17:54:16 +03:00
2023-08-14 18:17:05 +02:00
2024-06-28 12:48:52 +03:00
2023-08-14 18:17:05 +02:00
2023-08-14 18:17:05 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:17:05 +02:00
2024-05-01 00:21:32 -04:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2024-06-28 12:48:52 +03:00
2023-11-06 11:24:19 +02:00
2024-06-28 12:48:52 +03:00
2023-08-14 18:16:53 +02:00
2024-05-15 12:53:06 +03:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:17:05 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2024-04-30 23:14:26 -04:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00
2023-08-14 18:16:53 +02:00