Function tauri_sys::path::resource_dir
source · pub async fn resource_dir() -> Result<PathBuf, Error>
Expand description
Returns the path to the application’s resource directory.
To resolve a resource path, see the resolve_resource
function.
§Example
use tauri_sys::path::resource_dir;
let resource_dir_path = resource_dir().await?;