Fix setting active runtime in Flatpak

This commit is contained in:
Sapphire committed 2025-12-19 02:24:13 -06:00
1 parent fc6fcda0cd
commit 65a02bb04f
1 file changed
+1 -1
+1 -1
View File
@@ -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");