Fixed json character limit for loading all mods.

This commit is contained in:
Assistant 2020-01-04 12:11:37 -04:00
parent eab45842d8
commit f081bc151f

View file

@ -121,6 +121,7 @@ namespace ModAssistant.Pages
using (StreamReader reader = new StreamReader(stream))
{
var serializer = new JavaScriptSerializer();
serializer.MaxJsonLength = Int32.MaxValue;
AllModsList = serializer.Deserialize<Mod[]>(reader.ReadToEnd());
}
}