mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-19 19:14:53 +00:00
fix: actually return steamvr dir in get_steamvr_base_dir
This commit is contained in:
parent
96e1a20eda
commit
1a71c82d1a
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ fn get_steamvr_base_dir() -> anyhow::Result<PathBuf> {
|
|||
SteamLibraryFolder::get_folders()?
|
||||
.into_iter()
|
||||
.find(|(_, lf)| lf.apps.contains_key(&STEAMVR_STEAM_APPID))
|
||||
.map(|(_, lf)| PathBuf::from(lf.path))
|
||||
.map(|(_, lf)| PathBuf::from(lf.path).join("steamapps/common/SteamVR"))
|
||||
.ok_or(anyhow::Error::msg(
|
||||
"Could not find SteamVR in Steam libraryfolders.vdf",
|
||||
))
|
||||
|
|
Loading…
Add table
Reference in a new issue