diff --git a/CMakeLists.txt b/CMakeLists.txt index 16aded6c..01c4980b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,7 +44,7 @@ auto_option(WIVRN_USE_X264 "Enable x264 software encoder" AUTO) auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO) auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO) -set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite" +set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/xrizer" CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :") option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF) diff --git a/server/active_runtime.cpp b/server/active_runtime.cpp index 5fbf7e5c..532f0531 100644 --- a/server/active_runtime.cpp +++ b/server/active_runtime.cpp @@ -57,7 +57,7 @@ std::filesystem::path active_runtime::openvr_compat_path() std::optional flatpak_root = flatpak_key(flatpak::section::instance, "app-path"); // flatpak default if (flatpak_root) - return *flatpak_root / "xrizer"; + return *flatpak_root / "OpenComposite"; for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":"))) {