pub fn get_addon_dir(name: impl AsRef<str>) -> Result<PathBuf>
Returns the directory for an addon with the passed name.