mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
chore(.NET): update to Cef 116.0.150
This commit is contained in:
@@ -17,10 +17,11 @@ namespace VRCX
|
||||
|
||||
internal void Init()
|
||||
{
|
||||
var userDataDir = Path.Combine(Program.AppDataDirectory, "userdata");
|
||||
var cefSettings = new CefSettings
|
||||
{
|
||||
CachePath = Path.Combine(Program.AppDataDirectory, "cache"),
|
||||
UserDataPath = Path.Combine(Program.AppDataDirectory, "userdata"),
|
||||
RootCachePath = userDataDir,
|
||||
CachePath = Path.Combine(userDataDir, "cache"),
|
||||
LogSeverity = LogSeverity.Disable,
|
||||
WindowlessRenderingEnabled = true,
|
||||
PersistSessionCookies = true,
|
||||
|
||||
10
Program.cs
10
Program.cs
@@ -43,6 +43,16 @@ namespace VRCX
|
||||
File.Copy(Path.Combine(AppDataDirectory, "VRCX.sqlite3"), Path.Combine(AppDataDirectory, "VRCX-backup.sqlite3"));
|
||||
}
|
||||
}
|
||||
|
||||
// Migrate cache to userdata for Cef 115 update
|
||||
var oldCachePath = Path.Combine(AppDataDirectory, "cache");
|
||||
if (Directory.Exists(oldCachePath))
|
||||
{
|
||||
var newCachePath = Path.Combine(AppDataDirectory, "userdata", "cache");
|
||||
if (Directory.Exists(newCachePath))
|
||||
Directory.Delete(newCachePath, true);
|
||||
Directory.Move(oldCachePath, newCachePath);
|
||||
}
|
||||
}
|
||||
|
||||
private static void ConfigureLogger()
|
||||
|
||||
10
VRCX.csproj
10
VRCX.csproj
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
@@ -189,13 +189,13 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="CefSharp.Common">
|
||||
<Version>114.2.120</Version>
|
||||
<Version>116.0.150</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="CefSharp.OffScreen">
|
||||
<Version>114.2.120</Version>
|
||||
<Version>116.0.150</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="CefSharp.WinForms">
|
||||
<Version>114.2.120</Version>
|
||||
<Version>116.0.150</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="DiscordRichPresence">
|
||||
<Version>1.2.1.24</Version>
|
||||
@@ -207,7 +207,7 @@
|
||||
<Version>13.0.3</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="NLog">
|
||||
<Version>5.2.2</Version>
|
||||
<Version>5.2.3</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="SharpDX.D3DCompiler">
|
||||
<Version>4.2.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user