Permalink
Browse files

Merge pull request #288 from JonnyH/WIP/fix-portable-config-write

Fix config file write in portable mode
  • Loading branch information...
JonnyH committed Dec 1, 2017
2 parents 2395be2 + d9f153d commit a19af6031c4a4b49ea81a21ca1c9a58946e73f0a
Showing with 2 additions and 1 deletion.
  1. +2 −1 framework/configfile.cpp
View
@@ -203,7 +203,8 @@ class ConfigFileImpl
std::string str = configPathString.str();
fs::path configPath(str);
auto dir = configPath.parent_path();
fs::create_directories(dir);
if (!dir.empty())
fs::create_directories(dir);
std::ofstream outFile(configPath.string());
if (!outFile)
{

0 comments on commit a19af60

Please sign in to comment.