mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-20 09:01:39 -08:00
first flatpak multilib prototype
This commit is contained in:
1 parent
0438d67c94
commit
9574cf4b97
4 files changed
+111
-111
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user