mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
Fix setting active runtime in Flatpak
This commit is contained in:
1 parent
fc6fcda0cd
commit
65a02bb04f
1 file changed
+1
-1
@@ -49,7 +49,7 @@ std::vector<std::filesystem::path> active_runtime::manifest_path()
|
||||
const std::filesystem::path prefix = "openxr_wivrn";
|
||||
// Check if in a flatpak
|
||||
if (auto path = flatpak_key(flatpak::section::instance, "app-path"))
|
||||
return filter_files(*path / location, prefix);
|
||||
return {*path / location / "openxr_wivrn.json"};
|
||||
|
||||
// Check if running from build directory
|
||||
auto exe = std::filesystem::read_symlink("/proc/self/exe");
|
||||
|
||||
Reference in new issue
Block a user