Function tauri::api::path::executable_dir

source ·
pub fn executable_dir() -> Option<PathBuf>
Expand description

Returns the path to the user’s executable directory.

Platform-specific

  • Linux: Resolves to $XDG_BIN_HOME/../bin or $XDG_DATA_HOME/../bin or $HOME/.local/bin.
  • macOS: Not supported.
  • Windows: Not supported.