mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-09-27 11:48:37 +00:00
Merge branch 'fix/get-steamvr-base-path' into 'main'
fix: actually return steamvr dir in get_steamvr_base_dir See merge request gabmus/envision!108
This commit is contained in:
commit
6a6793df3d
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
Add a link
Reference in a new issue