fix: remove canonicalize from get steamvr bin dir path function

This commit is contained in:
Gabriele Musco 2025-01-08 07:25:02 +01:00
commit 5187a00971

View file

@ -102,7 +102,7 @@ fn get_steamvr_base_dir() -> anyhow::Result<PathBuf> {
}
pub fn get_steamvr_bin_dir_path() -> anyhow::Result<PathBuf> {
let res = get_steamvr_base_dir()?.join("bin/linux64").canonicalize()?;
let res = get_steamvr_base_dir()?.join("bin/linux64");
if !res.is_dir() {
bail!("SteamVR bin dir `{}` does not exist", res.to_string_lossy());
}