mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 03:24:52 +00:00
fix: proper runtime path in launch options for wivrn
This commit is contained in:
parent
121a69a04f
commit
e61e1308a5
1 changed files with 5 additions and 1 deletions
|
@ -40,10 +40,14 @@ impl Profile {
|
|||
pub fn get_steam_launch_options(&self) -> String {
|
||||
let mut opts = vec![];
|
||||
opts.push(format!(
|
||||
"XR_RUNTIME_JSON={prefix}/share/openxr/1/openxr_monado.json",
|
||||
"XR_RUNTIME_JSON={prefix}/share/openxr/1/openxr_{runtime}.json",
|
||||
prefix = match self.prefix.as_str() {
|
||||
SYSTEM_PREFIX => BWRAP_SYSTEM_PREFIX,
|
||||
other => other,
|
||||
},
|
||||
runtime = match self.xrservice_type {
|
||||
XRServiceType::Wivrn => "wivrn",
|
||||
XRServiceType::Monado => "monado",
|
||||
}
|
||||
));
|
||||
opts.push(format!(
|
||||
|
|
Loading…
Add table
Reference in a new issue