修改生成的用户目录名为CreatWare2
This commit is contained in:
parent
73bc37a8ab
commit
f424ab87b7
@ -1957,6 +1957,7 @@ void GUI_App::init_app_config()
|
|||||||
boost::filesystem::path data_dir_path;
|
boost::filesystem::path data_dir_path;
|
||||||
#ifndef __linux__
|
#ifndef __linux__
|
||||||
std::string data_dir = wxStandardPaths::Get().GetUserDataDir().ToUTF8().data();
|
std::string data_dir = wxStandardPaths::Get().GetUserDataDir().ToUTF8().data();
|
||||||
|
data_dir = data_dir + "2";
|
||||||
//BBS create folder if not exists
|
//BBS create folder if not exists
|
||||||
data_dir_path = boost::filesystem::path(data_dir);
|
data_dir_path = boost::filesystem::path(data_dir);
|
||||||
set_data_dir(data_dir);
|
set_data_dir(data_dir);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user