desktopDir

external fun desktopDir(): ERROR CLASS: Symbol not found for js.promise.Promise<kotlin/String>(source)

Returns the path to the user's desktop directory.

Platform-specific

  • Linux: Resolves to xdg-user-dirs' XDG_DESKTOP_DIR.

  • macOS: Resolves to $HOME/Desktop.

  • Windows: Resolves to {FOLDERID_Desktop}.

Since

1.0.0