1.0.4 release

This commit is contained in:
mikx 2017-10-26 08:35:19 -04:00
parent 9c7aa0b793
commit 30e101893f
7 changed files with 21 additions and 5 deletions

Binary file not shown.

6
CHANGELOG Normal file
View File

@ -0,0 +1,6 @@
[October 26, 2017][1.0.4]
F Fixed 3 crashes due to "not nullable variables".
F Will now verify if \data and \gen exists and create them if they don't.

View File

@ -10,8 +10,8 @@ namespace PoE_MxFilterGen.json
{
public class SparklineCard
{
public List<double> data { get; set; }
public double totalChange { get; set; }
public List<double?> data { get; set; }
public double? totalChange { get; set; }
}
public class ExplicitModifierCard

View File

@ -10,8 +10,8 @@ namespace PoE_MxFilterGen.json
{
public class SparklineMap
{
public List<double> data { get; set; }
public double totalChange { get; set; }
public List<double?> data { get; set; }
public double? totalChange { get; set; }
}
public class LineMap

View File

@ -12,7 +12,7 @@ namespace PoE_MxFilterGen
{
private static DateTime dt = DateTime.Now;
public static string version = "1.0.3";
public static string version = "1.0.4";
public static string release = "stable";
public static string fDate = string.Format("{0}-{1}-{2}",dt.Day,dt.Month,dt.Year);
@ -24,6 +24,16 @@ namespace PoE_MxFilterGen
msg.CMW(string.Format("Confidence: {0}", json.settings.GetConfidence().ToString()), true, 1);
msg.CMW(string.Format("Minimum Value: {0}c", json.settings.GetMinimumValue().ToString()), true, 1);
// Check if data and gen exists
if (!Directory.Exists(@"data\"))
{
Directory.CreateDirectory(@"data\");
}
if (!Directory.Exists(@"gen\"))
{
Directory.CreateDirectory(@"gen\");
}
// Clean all generated data
DirectoryInfo dataDir = new DirectoryInfo(@"data\");
DirectoryInfo genDir = new DirectoryInfo(@"gen\");