fix: set correct env with injected LH_DRIVER

This commit is contained in:
Gabriele Musco 2023-08-16 08:19:58 +00:00
commit af1e3bb74f

View file

@ -98,7 +98,7 @@ impl Runner {
); );
} }
Self::new( Self::new(
Some(profile.environment.clone()), Some(env),
match profile.xrservice_type { match profile.xrservice_type {
XRServiceType::Monado => format!("{pfx}/bin/monado-service", pfx = profile.prefix), XRServiceType::Monado => format!("{pfx}/bin/monado-service", pfx = profile.prefix),
XRServiceType::Wivrn => format!("{pfx}/bin/wivrn-server", pfx = profile.prefix), XRServiceType::Wivrn => format!("{pfx}/bin/wivrn-server", pfx = profile.prefix),