Returns the path to the user's executable directory.
$XDG_BIN_HOME/../bin
$XDG_DATA_HOME/../bin
$HOME/.local/bin
import { executableDir } from '@tauri-apps/api/path';const executableDirPath = await executableDir(); Copy
import { executableDir } from '@tauri-apps/api/path';const executableDirPath = await executableDir();
1.0.0
Returns the path to the user's executable directory.
Platform-specific
$XDG_BIN_HOME/../bin
or$XDG_DATA_HOME/../bin
or$HOME/.local/bin
.