forked from tauri-apps/tauri
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(api) XDG user dirs are not env vars, fix tauri-apps#3090
This commit points the docs on `path.downloadDir` for XDG_DOWNLOAD_DIR on Linux, and similar XDG user dirs, at the `xdg-user-dirs` program for more information, and fixes that they currently imply these are environment variables; which they a) are unfortunately not by any sort of standard; b) such env vars are ignored by `dirs-next` which tauri uses for resolving them. This does not address the issue of `${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dir` needing to already exist and contain the appropriate key for this to work (i.e. they do not default to `$HOME` as the output of `xdg-user-dir` does) - because that IMO is a shortcoming of `dirs-next` and is better addressed there.
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters