diff --git a/CMakeLists.txt b/CMakeLists.txt index 7d5ff7a6..eb4ad151 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ option(WIVRN_USE_X264 "Enable x264 software encoder" ON) option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" ON) option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" OFF) -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 51e57673..81124d02 100644 --- a/server/active_runtime.cpp +++ b/server/active_runtime.cpp @@ -70,7 +70,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(":"))) {