mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 23:03:51 +02:00
Handle parsing malformed user created VRC config.json files
This commit is contained in:
@@ -6,6 +6,7 @@ using System.IO;
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
using librsync.net;
|
||||
using Newtonsoft.Json;
|
||||
using NLog;
|
||||
|
||||
namespace VRCX
|
||||
@@ -18,6 +19,14 @@ namespace VRCX
|
||||
public void Init()
|
||||
{
|
||||
}
|
||||
|
||||
public JsonSerializerSettings JsonSerializerSettings = new JsonSerializerSettings
|
||||
{
|
||||
Error = delegate(object _, Newtonsoft.Json.Serialization.ErrorEventArgs args)
|
||||
{
|
||||
args.ErrorContext.Handled = true;
|
||||
}
|
||||
};
|
||||
|
||||
public string MD5File(string blob)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user