explain get_steamdir

This commit is contained in:
snow flurry 2023-07-10 14:34:25 -07:00
parent 08103a08fc
commit 3e6d025b74

View file

@ -21,6 +21,7 @@ impl HeuristicError {
}
}
/// Gets the Steam local directory
pub fn get_steamdir() -> Result<PathBuf, Box<dyn std::error::Error>> {
let mut dir = dirs::data_local_dir().unwrap_or_else(|| {
let mut dir = dirs::home_dir().unwrap();