Skip to content

Commit c717c53

Browse files
committed
Set CEF's cache_path for persistent storage (cookies, databases etc.)
1 parent 8911f75 commit c717c53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

obs-browser/browser-manager-base.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ void BrowserManager::Impl::BrowserManagerEntry()
347347
settings.log_severity = LOGSEVERITY_VERBOSE;
348348
settings.windowless_rendering_enabled = true;
349349
settings.no_sandbox = true;
350+
CefString(&settings.cache_path).FromASCII(obs_module_config_path(""));
350351
CefString(&settings.browser_subprocess_path) = getBootstrap();
351352
CefRefPtr<BrowserApp> app(new BrowserApp());
352353
CefExecuteProcess(mainArgs, app, nullptr);

0 commit comments

Comments
 (0)