Explorar o código

Fix incorrect notice about XDG paths working on all platforms in Data paths (#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 <[email protected]>
Hugo Locurcio hai 10 meses
pai
achega
993cd7ef46
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      tutorials/io/data_paths.rst

+ 3 - 2
tutorials/io/data_paths.rst

@@ -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