Put screenshots in ~/.local/share/supertuxkart/screenshots (#2932)
* Put screenshots in ~/.local/share/supertuxkart/screenshots Instead of `~/.cache/supertuxkart/screenshots`. * whoops :(
This commit is contained in:
parent
5e8f25a1fc
commit
039a7d0ecc
@ -960,7 +960,8 @@ void FileManager::checkAndCreateScreenshotDir()
|
||||
m_screenshot_dir = getenv("HOME");
|
||||
m_screenshot_dir += "/Library/Application Support/SuperTuxKart/Screenshots/";
|
||||
#else
|
||||
m_screenshot_dir = checkAndCreateLinuxDir("XDG_CACHE_HOME", "supertuxkart", ".cache/", ".");
|
||||
m_screenshot_dir = checkAndCreateLinuxDir("XDG_DATA_HOME", "supertuxkart",
|
||||
".local/share", ".stkscreenshots");
|
||||
m_screenshot_dir += "screenshots/";
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user