We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcd27d3 commit 94e090dCopy full SHA for 94e090d
src/io/file_manager.cpp
@@ -931,7 +931,17 @@ void FileManager::checkAndCreateConfigDir()
931
if(m_user_config_dir.size()>0 && *m_user_config_dir.rbegin()!='/')
932
m_user_config_dir += "/";
933
934
+ // 0.10 only because wrong config name is used
935
+ std::string beta_config_dir = m_user_config_dir + "0.10-beta";
936
m_user_config_dir += "config-0.10/";
937
+
938
+ if (fileExists(beta_config_dir))
939
+ {
940
+ Log::info("FileManager", "Rename 0.10-beta directory to config-0.10 "
941
+ "to keep user story mode progress.");
942
+ rename(beta_config_dir.c_str(), m_user_config_dir.c_str());
943
+ }
944
945
if(!checkAndCreateDirectoryP(m_user_config_dir))
946
{
947
Log::warn("FileManager", "Can not create config dir '%s', "
0 commit comments