first flatpak multilib prototype

This commit is contained in:
Patrick Nicolas committed 2025-12-20 18:26:49 +01:00
1 parent 0438d67c94
commit 9574cf4b97
4 files changed
+111 -111

No files matched your search

+4 -1
View File
@@ -49,7 +49,10 @@ 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 {*path / location / "openxr_wivrn.json"};
return {
*path / location / "openxr_wivrn.i686.json",
*path / location / "openxr_wivrn.json",
};
// Check if running from build directory
auto exe = std::filesystem::read_symlink("/proc/self/exe");