Delete CEF-generated empty folder on exit.

This commit is contained in:
Oliver Hamlet
2015-09-27 13:12:07 +01:00
parent 33a3fd5fb6
commit 2d8494c3f4
+2 -2
View File
@@ -142,8 +142,8 @@ int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmd
if (hMutex != NULL)
ReleaseMutex(hMutex);
// Delete the folders CEF generates that LOOT doesn't need.
boost::filesystem::remove_all(boost::filesystem::current_path() / "pdf.dll");
// Delete the Widevine folder CEF wrongly generates (CEF issue #1713).
boost::filesystem::remove_all(boost::filesystem::current_path() / "widevinecdmadapter.dll");
return 0;