Change profile folder to avoid compatibilities issues
As discussed on IRC with Auria. This removes the several issues already noticed when switching between 0.9.3 and git versions (forgotten challenges and settings ; and more recently a crash with highscores). Reminder for git users : you can migrate your data by copying it from the previous folder to the new one, so you won't have to redo your settings/profiles.
This commit is contained in:
parent
6dab3b4e03
commit
323af45fbd
@ -921,7 +921,7 @@ void FileManager::checkAndCreateConfigDir()
|
|||||||
if(m_user_config_dir.size()>0 && *m_user_config_dir.rbegin()!='/')
|
if(m_user_config_dir.size()>0 && *m_user_config_dir.rbegin()!='/')
|
||||||
m_user_config_dir += "/";
|
m_user_config_dir += "/";
|
||||||
|
|
||||||
m_user_config_dir +="0.8.2/";
|
m_user_config_dir +="0.10-git/";
|
||||||
if(!checkAndCreateDirectoryP(m_user_config_dir))
|
if(!checkAndCreateDirectoryP(m_user_config_dir))
|
||||||
{
|
{
|
||||||
Log::warn("FileManager", "Can not create config dir '%s', "
|
Log::warn("FileManager", "Can not create config dir '%s', "
|
||||||
|
Loading…
Reference in New Issue
Block a user