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 (godotengine#10009)

* Fix incorrect notice about XDG paths working on all platforms in Data 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.)

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
  • Loading branch information
Calinou and mhilbrunner authored Oct 4, 2024
1 parent be73f38 commit 8af700e
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 @@ -159,8 +159,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 8af700e

Please sign in to comment.