Enable Dependency Check
This commit is contained in:
parent
55bcee859a
commit
db6479b52e
@ -35,7 +35,7 @@ namespace CefSharp.MinimalExample.OffScreen
|
||||
};
|
||||
|
||||
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
|
||||
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
|
||||
|
||||
// Create the offscreen Chromium browser.
|
||||
browser = new ChromiumWebBrowser(testUrl);
|
||||
|
@ -42,7 +42,7 @@ namespace CefSharp.MinimalExample.WinForms
|
||||
settings.CefCommandLineArgs.Add("enable-usermedia-screen-capturing");
|
||||
|
||||
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
|
||||
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
|
||||
|
||||
var browser = new BrowserForm();
|
||||
Application.Run(browser);
|
||||
|
@ -37,7 +37,7 @@ namespace CefSharp.MinimalExample.Wpf
|
||||
if (!Cef.IsInitialized)
|
||||
{
|
||||
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
|
||||
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user