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