Use a better path for add-ons on OSX, before I had chosen a poor location and addon files were among config files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
5f1b883995
commit
3d743e8e2d
@ -545,7 +545,7 @@ void FileManager::checkAndCreateAddonsDir()
|
||||
m_addons_dir = m_config_dir+"/addons";
|
||||
#elif defined(__APPLE__)
|
||||
m_addons_dir = getenv("HOME");
|
||||
m_addons_dir += "/Library/Application Support/SuperTuxKart";
|
||||
m_addons_dir += "/Library/Application Support/SuperTuxKart/Addons";
|
||||
#else
|
||||
// Remaining unix variants. Use the new standards for config directory
|
||||
// i.e. either XDG_CONFIG_HOME or $HOME/.config
|
||||
|
Loading…
Reference in New Issue
Block a user