mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-09-27 19:58:37 +00:00
fix: remove canonicalize from get steamvr bin dir path function
This commit is contained in:
parent
1a71c82d1a
commit
5187a00971
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ fn get_steamvr_base_dir() -> anyhow::Result<PathBuf> {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_steamvr_bin_dir_path() -> 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() {
|
if !res.is_dir() {
|
||||||
bail!("SteamVR bin dir `{}` does not exist", res.to_string_lossy());
|
bail!("SteamVR bin dir `{}` does not exist", res.to_string_lossy());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue