aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>2022-09-16 07:19:44 -0400
committerGitHub <noreply@github.com>2022-09-16 13:19:44 +0200
commit19e936362aab3806a9554ab811be0562dcb41509 (patch)
treea486e08bae52c7032425bf051ec069f23a8d1696 /README.md
parent1d04903c1973591e795d3275b900d76d7cb7877a (diff)
downloadminetest-19e936362aab3806a9554ab811be0562dcb41509.tar.xz
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.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 0bc5d4b42..32dacd348 100644
--- a/README.md
+++ b/README.md
@@ -98,15 +98,15 @@ Where each location is on each platform:
* Windows installed:
* `bin` = `C:\Program Files\Minetest\bin (Depends on the install location)`
* `share` = `C:\Program Files\Minetest (Depends on the install location)`
- * `user` = `%APPDATA%\Minetest`
+ * `user` = `%APPDATA%\Minetest` or `%MINETEST_USER_PATH%`
* Linux installed:
* `bin` = `/usr/bin`
* `share` = `/usr/share/minetest`
- * `user` = `~/.minetest`
+ * `user` = `~/.minetest` or `$MINETEST_USER_PATH`
* macOS:
* `bin` = `Contents/MacOS`
* `share` = `Contents/Resources`
- * `user` = `Contents/User OR ~/Library/Application Support/minetest`
+ * `user` = `Contents/User` or `~/Library/Application Support/minetest` or `$MINETEST_USER_PATH`
Worlds can be found as separate folders in: `user/worlds/`