mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
set cache directory as absolute path
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user