parent
0f2a223abd
commit
01706eff84
1 changed files with 3 additions and 0 deletions
|
@ -2107,6 +2107,9 @@ void GUI_App::init_app_config()
|
||||||
if (!boost::filesystem::exists(data_dir_path)){
|
if (!boost::filesystem::exists(data_dir_path)){
|
||||||
boost::filesystem::create_directory(data_dir_path);
|
boost::filesystem::create_directory(data_dir_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Change current dirtory of application
|
||||||
|
chdir(encode_path((Slic3r::data_dir() + "/log").c_str()).c_str());
|
||||||
} else {
|
} else {
|
||||||
m_datadir_redefined = true;
|
m_datadir_redefined = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue