set cache directory as absolute path

This commit is contained in:
pypy
2020-03-28 20:07:32 +09:00
parent 042142e8b7
commit 04fadf6ff4

View File

@@ -6,6 +6,7 @@
using CefSharp; using CefSharp;
using CefSharp.WinForms; using CefSharp.WinForms;
using System; using System;
using System.IO;
using System.Windows.Forms; using System.Windows.Forms;
namespace VRCX namespace VRCX
@@ -19,7 +20,7 @@ namespace VRCX
{ {
var settings = new CefSettings var settings = new CefSettings
{ {
CachePath = "cache", CachePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "cache"),
PersistUserPreferences = true, PersistUserPreferences = true,
PersistSessionCookies = true, PersistSessionCookies = true,
WindowlessRenderingEnabled = true WindowlessRenderingEnabled = true