fn.desktop_dir

Function tauri_api::​path::​desktop_dir

pub fn desktop_dir() -> Option<PathBuf>

Returns the path to the user's desktop directory.