Function get_library_path

Source
pub fn get_library_path() -> Result<PathBuf, SteamError>
Expand description

Get the path to the Steam library that has CK3 installed.

§Errors

This function shouldn’t panic, but it can return an error. Generally speaking error checking regarding VDF expected format is not performed. So if the VDF file is weird, then SteamError::CK3Missing will be returned.

§Returns

The path to the Steam library that has CK3 installed.