diff --git a/src/gui/main_win.cpp b/src/gui/main_win.cpp index 2a0bb32c..42f094d1 100644 --- a/src/gui/main_win.cpp +++ b/src/gui/main_win.cpp @@ -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; } \ No newline at end of file