Delete CEF-created folders on quit.

Closes #215.
This commit is contained in:
WrinklyNinja
2014-08-17 10:20:08 +01:00
parent 0e2cabaae4
commit e02a565cfd
+4
View File
@@ -136,5 +136,9 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd
g_app_state.CurrentGame().userlist.Save(g_app_state.CurrentGame().UserlistPath());
g_app_state.SaveSettings();
// Delete the folders CEF generates that LOOT doesn't need.
boost::filesystem::remove_all(boost::filesystem::current_path() / "locales");
boost::filesystem::remove_all(boost::filesystem::current_path() / "pdf.dll");
return 0;
}