fix: point to correct ipc socket for wivrn (#33)

This commit is contained in:
Gabriele Musco 2023-06-22 22:05:52 +02:00
commit 19173a98b3
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -47,12 +47,16 @@ impl Profile {
other => other,
},
runtime = match self.xrservice_type {
XRServiceType::Wivrn => "wivrn",
XRServiceType::Monado => "monado",
XRServiceType::Wivrn => "wivrn",
}
));
opts.push(format!(
"PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/monado_comp_ipc"
"PRESSURE_VESSEL_FILESYSTEMS_RW=$XDG_RUNTIME_DIR/{xrservice}_comp_ipc",
xrservice = match self.xrservice_type {
XRServiceType::Monado => "monado",
XRServiceType::Wivrn => "wivrn",
}
));
opts.push("%command%".into());
opts.join(" ")