Tauri Core API - v2.6.0
    Preparing search index...

    Function executableDir

    • Returns the path to the user's executable directory.

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

      Returns Promise<string>

      import { executableDir } from '@tauri-apps/api/path';
      const executableDirPath = await executableDir();

      1.0.0