lets give this another shot

moved from netstandard to netframework
This commit is contained in:
LotP1
2024-12-25 17:09:57 +01:00
parent 732a1af863
commit 748e93ba65
3 changed files with 20 additions and 8 deletions

View File

@@ -32,8 +32,19 @@ namespace Ryujinx.BuildValidationTasks
data = sr.ReadToEnd();
}
LocalesJson json;
LocalesJson json = JsonConvert.DeserializeObject<LocalesJson>(data);
try
{
json = JsonConvert.DeserializeObject<LocalesJson>(data);
}
catch (Exception e)
{
Log.LogError($"Json Validation failed! {e.Message}");
return false;
}
for (int i = 0; i < json.Locales.Count; i++)