private static void bgw_DoWork(object sender, DoWorkEventArgs e) { var myUpdater = new Updater("http://goo.gl/FtiO31", "http://goo.gl/P4UNE6", Localversion); if (myUpdater.NeedUpdate) { Chat.Print("UltimateCarry is Updating ..."); Chat.Print("-- Using trellis Updater --"); if (myUpdater.Update()) { Chat.Print("UltimateCarry is Updateed, Reload Please."); Properties.Settings.Default.Reset(); } } else Chat.Print(string.Format("UltimateCarry ( Version: {0} ) loaded!", Localversion)); }
private static void bgw_DoWork(object sender, DoWorkEventArgs e) { var myUpdater = new Updater("https://raw.githubusercontent.com/LXMedia1/Leage-Sharp/master/Versions/UltimateCarry.ver", "https://github.com/LXMedia1/Leage-Sharp/raw/master/UltimateCarry.exe", localversion); if (myUpdater.NeedUpdate) { Chat.Write("UltimateCarry is Updateing ...", "#33FFFF"); Chat.Write("-- Using trellis Updater --", "#33FFFF"); if (myUpdater.Update()) { Chat.Write("UltimateCarry is Updateed, Reload Please.", "#33FFFF"); } } else { Chat.Write(string.Format("UltimateCarry ( Version: {0} ) loaded!", localversion), "#33FFFF"); } }
private static void bgw_DoWork(object sender, DoWorkEventArgs e) { var myUpdater = new Updater("http://goo.gl/FtiO31", "http://goo.gl/P4UNE6", Localversion); if (myUpdater.NeedUpdate) { Chat.Print("UltimateCarry is Updating ..."); Chat.Print("-- Using trellis Updater --"); if (myUpdater.Update()) { Chat.Print("UltimateCarry is Updateed, Reload Please."); Properties.Settings.Default.Reset(); } } else { Chat.Print(string.Format("UltimateCarry ( Version: {0} ) loaded!", Localversion)); } }