fn resources_dir_path() -> Result<PathBuf>