pub fn local_app_data(app_name: &str) -> Result<PathBuf>Expand description
Returns the per-user local app-data directory for the given app name.
This function reads the LOCALAPPDATA environment variable and appends app_name.
It does not create the directory.
§Errors
Returns Error::InvalidInput if app_name is empty or whitespace only.
Returns Error::Unsupported if LOCALAPPDATA is not available.
§Examples
let path = win_desktop_utils::local_app_data("demo-app")?;
assert!(path.ends_with("demo-app"));