fix: update wivrn comp ipc path
Some checks failed
/ cargo-fmtcheck (push) Has been cancelled
/ cargo-clippy (push) Has been cancelled
/ cargo-test (push) Has been cancelled
/ appimage (push) Has been cancelled

This commit is contained in:
Gabriele Musco 2024-09-28 18:08:00 +02:00
parent 58f2589be8
commit 56d500a9f9
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -47,7 +47,7 @@ impl XRServiceType {
.expect("XDG runtime directory is not available")
.join(match self {
XRServiceType::Monado => "monado_comp_ipc",
XRServiceType::Wivrn => "wivrn_comp_ipc",
XRServiceType::Wivrn => "wivrn/comp_ipc",
})
}
}
@ -367,7 +367,7 @@ impl Profile {
pub fn get_env_vars(&self) -> Vec<String> {
if self.can_be_built {
return vec![
"PRESSURE_VESSEL_FILESYSTEMS_RW=\"$XDG_RUNTIME_DIR/wivrn_comp_ipc:$XDG_RUNTIME_DIR/monado_comp_ipc\"".into(),
"PRESSURE_VESSEL_FILESYSTEMS_RW=\"$XDG_RUNTIME_DIR/wivrn/comp_ipc:$XDG_RUNTIME_DIR/monado_comp_ipc\"".into(),
];
}
self.env_vars_full()