From 04fadf6ff4ecab8929c870e7bb8aef9de05e7d5e Mon Sep 17 00:00:00 2001 From: pypy Date: Sat, 28 Mar 2020 20:07:32 +0900 Subject: [PATCH] set cache directory as absolute path --- Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index c4e29495..9176976f 100644 --- a/Program.cs +++ b/Program.cs @@ -6,6 +6,7 @@ using CefSharp; using CefSharp.WinForms; using System; +using System.IO; using System.Windows.Forms; namespace VRCX @@ -19,7 +20,7 @@ namespace VRCX { var settings = new CefSettings { - CachePath = "cache", + CachePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "cache"), PersistUserPreferences = true, PersistSessionCookies = true, WindowlessRenderingEnabled = true