diff --git a/core/tauri/src/api/path.rs b/core/tauri/src/api/path.rs index 621a2dbfe..fc744ba54 100644 --- a/core/tauri/src/api/path.rs +++ b/core/tauri/src/api/path.rs @@ -336,7 +336,7 @@ pub fn local_data_dir() -> Option { /// ## Platform-specific /// /// - **Linux:** Resolves to [`xdg-user-dirs`](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' `XDG_DESKTOP_DIR`. -/// - **macOS:** Resolves to `$HOME/Library/Desktop`. +/// - **macOS:** Resolves to `$HOME/Desktop`. /// - **Windows:** Resolves to `{FOLDERID_Desktop}`. pub fn desktop_dir() -> Option { dirs_next::desktop_dir() diff --git a/tooling/api/src/path.ts b/tooling/api/src/path.ts index cd2235608..b73e34e59 100644 --- a/tooling/api/src/path.ts +++ b/tooling/api/src/path.ts @@ -163,7 +163,7 @@ async function dataDir(): Promise { * #### Platform-specific * * - **Linux:** Resolves to [`xdg-user-dirs`](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' `XDG_DESKTOP_DIR`. - * - **macOS:** Resolves to `$HOME/Library/Desktop`. + * - **macOS:** Resolves to `$HOME/Desktop`. * - **Windows:** Resolves to `{FOLDERID_Desktop}`. * @example * ```typescript