Default to xrizer
This commit is contained in:
+1
-1
@@ -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)
|
||||||
|
|||||||
@@ -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(":")))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user