8.0.0 fixes

This commit is contained in:
mikx 2020-07-01 12:49:41 -04:00
parent b729413646
commit 0aa483cb1b
3 changed files with 5 additions and 4 deletions

View File

@ -33,7 +33,7 @@ namespace PoE_MxFilterGen
public static int sprog = 0;
public static int stotal = 0;
public static bool deb = false;
public static bool deb = true;
public class REMVAR
{
@ -68,7 +68,7 @@ namespace PoE_MxFilterGen
web.DownloadFile("https://raw.githubusercontent.com/mikxqc/PoE-MxFilter-Data/master/json/mxfiltergen_temp_settings.json", "settings.json");
}
web.DownloadFile("https://raw.githubusercontent.com/mikxqc/PoE-MxFilter-Data/master/bin/mxfiltergen_updater.exe", "PoE-MxFilterGen-Updater.exe");
//web.DownloadFile("https://raw.githubusercontent.com/mikxqc/PoE-MxFilter-Data/master/bin/mxfiltergen_updater.exe", "PoE-MxFilterGen-Updater.exe");
msg.Splash();
@ -88,9 +88,10 @@ namespace PoE_MxFilterGen
// Check for updates
string remote_version = web.ReadString(@"https://raw.githubusercontent.com/mikxqc/PoE-MxFilter-Data/master/txt/mxfiltergen_version.txt");
if (version != remote_version && deb == false)
//msg.CMW(remote_version,true,3);
if (deb == false)
{
Process.Start("PoE-MxFilterGen-Updater.exe");
//Process.Start("PoE-MxFilterGen-Updater.exe");
//Process.GetCurrentProcess().Kill();
} else
{