Skip to content

Commit fb95f70

Browse files
committed
Fix mistake in cachepath
1 parent 68aafc6 commit fb95f70

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

CefSharp.MinimalExample.Wpf.HwndHost/App.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ public partial class App : Application
99
{
1010
public App()
1111
{
12+
var cachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
13+
1214
#if ANYCPU
1315
//Only required for PlatformTarget of AnyCPU
1416
CefRuntime.SubscribeAnyCpuAssemblyResolver();
15-
16-
var cachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
1717
#endif
1818
var settings = new CefSettings()
1919
{

CefSharp.MinimalExample.Wpf/App.xaml.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ public partial class App : Application
99
{
1010
public App()
1111
{
12+
var cachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
1213
#if ANYCPU
1314
//Only required for PlatformTarget of AnyCPU
1415
CefRuntime.SubscribeAnyCpuAssemblyResolver();
15-
16-
var cachePath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\\Cache");
1716
#endif
1817
var settings = new CefSettings()
1918
{

0 commit comments

Comments
 (0)