Fixed a variable type
This commit is contained in:
parent
d744553931
commit
ee66400e2c
|
@ -10,13 +10,10 @@ namespace PoE_MxFilterGen.json
|
|||
{
|
||||
public class SETTINGS
|
||||
{
|
||||
public string git { get; set; }
|
||||
public string api { get; set; }
|
||||
public int uniqueValue { get; set; }
|
||||
public int fossilValue { get; set; }
|
||||
public int cardValue { get; set; }
|
||||
public bool verbose { get; set; }
|
||||
public bool ssf { get; set; }
|
||||
public string updateurl { get; set; }
|
||||
public string section { get; set; }
|
||||
}
|
||||
|
||||
|
@ -55,6 +52,7 @@ namespace PoE_MxFilterGen.json
|
|||
uniqueValue = js.uniqueValue,
|
||||
fossilValue = js.fossilValue,
|
||||
cardValue = js.cardValue,
|
||||
updateurl = js.updateurl,
|
||||
section = section
|
||||
};
|
||||
var raw = JsonConvert.SerializeObject(se, Formatting.Indented);
|
||||
|
|
|
@ -12,7 +12,7 @@ namespace PoE_MxFilterGen
|
|||
{
|
||||
private static DateTime dt = DateTime.Now;
|
||||
|
||||
public static string version = "8.3.0";
|
||||
public static string version = "8.3.1";
|
||||
public static string fDate = string.Format("{0}-{1}-{2}", dt.Day, dt.Month, dt.Year);
|
||||
|
||||
public static string api = "";
|
||||
|
@ -68,6 +68,7 @@ namespace PoE_MxFilterGen
|
|||
//Update Logic
|
||||
msg.CMW("Checking for update...",true,1);
|
||||
string remote_version = web.ReadString(@"https://git.mikx.xyz/mikx/PoE-MxFilter-Data/raw/branch/master/txt/mxfiltergen_version.txt");
|
||||
Console.ReadKey();
|
||||
if (remote_version != version && deb == false)
|
||||
{
|
||||
web.DownloadFile("https://git.mikx.xyz/mikx/PoE-MxFilter-Data/raw/branch/master/bin/mxfiltergen_updater.exe", "PoE-MxFilterGen-Updater.exe");
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue