Default to xrizer

This commit is contained in:
Patrick Nicolas
2025-08-06 20:19:59 +02:00
parent f63892119d
commit 46ffc444f0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ auto_option(WIVRN_USE_X264 "Enable x264 software encoder" AUTO)
auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO) auto_option(WIVRN_USE_PIPEWIRE "Enable pipewire backend" AUTO)
auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO) auto_option(WIVRN_USE_PULSEAUDIO "Enable pulseaudio backend" AUTO)
set(OVR_COMPAT_SEARCH_PATH "/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite:/opt/xrizer" set(OVR_COMPAT_SEARCH_PATH "/opt/xrizer:/usr/local/lib/OpenComposite:/usr/lib/OpenComposite:/opt/OpenComposite:/opt/opencomposite"
CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :") CACHE STRING "List of places to search for the OpenVR compatibility layer, separated by :")
option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF) option(WIVRN_FEATURE_DEBUG_GUI "Enable Monado debug GUI" OFF)
+1 -1
View File
@@ -57,7 +57,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path"); std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
// flatpak default // flatpak default
if (flatpak_root) if (flatpak_root)
return *flatpak_root / "OpenComposite"; return *flatpak_root / "xrizer";
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":"))) for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
{ {