mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-06 16:18:53 +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 {
|
pub fn get_steam_launch_options(&self) -> String {
|
||||||
let mut opts = vec![];
|
let mut opts = vec![];
|
||||||
opts.push(format!(
|
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() {
|
prefix = match self.prefix.as_str() {
|
||||||
SYSTEM_PREFIX => BWRAP_SYSTEM_PREFIX,
|
SYSTEM_PREFIX => BWRAP_SYSTEM_PREFIX,
|
||||||
other => other,
|
other => other,
|
||||||
|
},
|
||||||
|
runtime = match self.xrservice_type {
|
||||||
|
XRServiceType::Wivrn => "wivrn",
|
||||||
|
XRServiceType::Monado => "monado",
|
||||||
}
|
}
|
||||||
));
|
));
|
||||||
opts.push(format!(
|
opts.push(format!(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue