Skip to content

Commit

Permalink
Fix incorrect notice about XDG paths working on all platforms in Data…
Browse files Browse the repository at this point in the history
… paths

They are only effective on Linux/*BSD. (For reference, in most other apps,
it's rare for XDG environment variables to have an effect on other platforms.)
  • Loading branch information
Calinou committed Sep 26, 2024
1 parent 41bb40b commit 9375ea6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tutorials/io/data_paths.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,9 @@ depending on the platform. By default, these paths are:

Godot complies with the `XDG Base Directory Specification
<https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html>`__
on all platforms. You can override environment variables following the
specification to change the editor and project data paths.
on Linux/*BSD. You can override the ``XDG_DATA_HOME``, ``XDG_CONFIG_HOME`` and
``XDG_CACHE_HOME`` environment variables to change the editor and project data
paths.
.. note:: If you use `Godot packaged as a Flatpak
<https://flathub.org/apps/details/org.godotengine.Godot>`__, the
Expand Down

0 comments on commit 9375ea6

Please sign in to comment.