[][src]Function rubrail::util::bundled_resource_path

pub fn bundled_resource_path(name: &str, extension: &str) -> Option<String>

Locate a resource in the executing Mac App bundle

If the program is executing from an App bundle (.app), which it must be to use Rubrail correctly, this looks for a resource by name and extension in the bundled Resources directory.