FIX: wxWidgets asserts

Change-Id: I583edbde501c2bfe8adfa8fdb525479a379a4cb8
This commit is contained in:
chunmao.guo 2022-08-05 14:38:19 +08:00 committed by Lane.Wei
parent a7bd14003b
commit 66c89c62e2
17 changed files with 46 additions and 39 deletions

View file

@ -143,7 +143,7 @@ int CLI::run(int argc, char **argv)
return 1;
}
BOOST_LOG_TRIVIAL(info) << "finished setup params, argc="<< argc << std::endl;
std::string temp_path = wxStandardPaths::Get().GetTempDir().utf8_str().data();
std::string temp_path = wxFileName::GetTempDir().utf8_str().data();
set_temporary_dir(temp_path);
m_extra_config.apply(m_config, true);