From 2d8494c3f4ed0dea8be4abb1936a9596e5490b5b Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 27 Sep 2015 13:12:07 +0100 Subject: [PATCH] Delete CEF-generated empty folder on exit. --- src/gui/main_win.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/main_win.cpp b/src/gui/main_win.cpp index 4ad90618..84e175e8 100644 --- a/src/gui/main_win.cpp +++ b/src/gui/main_win.cpp @@ -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;