chore(.NET): update to Cef 116.0.150

This commit is contained in:
Natsumi
2023-09-03 09:30:22 +12:00
parent 102092e6d3
commit a2b06dbe23
3 changed files with 18 additions and 7 deletions

View File

@@ -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()