1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Add support for MINETEST_USERDATA environment variable (#12639)

The MINETEST_USER_PATH environment variable can be used to define a
custom path for Minetest user data. If MINETEST_USER_PATH is empty or
unset, the HOME (or APPDATA on Windows) environment variable is used as
the default user data path; this ensures backwards compatibility with
existing user setups.
This commit is contained in:
William Breathitt Gray 2022-09-16 07:19:44 -04:00 committed by GitHub
parent 1d04903c19
commit 19e936362a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 15 deletions

View file

@ -124,6 +124,9 @@ Colon delimited list of directories to search for games.
.TP
.B MINETEST_MOD_PATH
Colon delimited list of directories to search for mods.
.TP
.B MINETEST_USER_PATH
Path to Minetest user data directory.
.SH BUGS
Please report all bugs at https://github.com/minetest/minetest/issues.