Function resources_dir

Source
pub fn resources_dir(package_format: PackageFormat) -> Result<PathBuf, Error>
Expand description

Retrieve the resource path of your app, packaged with cargo packager.

ยงExample

use cargo_packager_resource_resolver::{resources_dir, PackageFormat};

let resource_path = resources_dir(PackageFormat::Nsis).unwrap();