diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-06 16:54:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-06 16:54:12 +0200 |
commit | f45ba78a72d86fd481a2d2064ac63858d69ad7ee (patch) | |
tree | 319698f6edccc3d4b82fb9ca5bd99ea65b4589de /builtin | |
parent | 661b4a1837067082a76114c08a7aebec83bc2b58 (diff) | |
download | minetest-f45ba78a72d86fd481a2d2064ac63858d69ad7ee.tar.gz minetest-f45ba78a72d86fd481a2d2064ac63858d69ad7ee.tar.bz2 minetest-f45ba78a72d86fd481a2d2064ac63858d69ad7ee.zip |
Allow relative directories for `screenshot_path`, tweak default path (#9122)
This will likely be more intuitive for users and should play better
with sandboxed distributions such as Flatpak.
In addition, the screenshot directory will now be created if it doesn't
exist already.
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/settingtypes.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 1f2889b45..a6cf8de60 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -903,8 +903,9 @@ fallback_font_shadow_alpha (Fallback font shadow alpha) int 128 0 255 # This font will be used for certain languages or if the default font is unavailable. fallback_font_path (Fallback font path) filepath fonts/DroidSansFallbackFull.ttf -# Path to save screenshots at. -screenshot_path (Screenshot folder) path +# Path to save screenshots at. Can be an absolute or relative path. +# The folder will be created if it doesn't already exist. +screenshot_path (Screenshot folder) path screenshots # Format of screenshots. screenshot_format (Screenshot format) enum png png,jpg,bmp,pcx,ppm,tga |