mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 17:11:36 -08:00
More accurate flatpak info parser
This commit is contained in:
1 parent
7983745317
commit
8400a03fde
7 files changed
+20
-8
No files matched your search
@@ -31,7 +31,7 @@ std::filesystem::path active_runtime::manifest_path()
|
||||
{
|
||||
const std::filesystem::path install_location = "share/openxr/1/openxr_wivrn.json";
|
||||
// Check if in a flatpak
|
||||
if (auto path = flatpak_key("app-path"))
|
||||
if (auto path = flatpak_key(flatpak::section::instance, "app-path"))
|
||||
return *path / install_location.relative_path();
|
||||
|
||||
// Check if running from build directory
|
||||
|
||||
Reference in new issue
Block a user