Esempio n. 1
0
 /// <summary>
 /// Checks to see if AWBUpdater.exe.new exists, if it does, replace it.
 /// </summary>
 public static void UpdateUpdaterFile(Tools.SetProgress setProgress)
 {
     setProgress(67);
     if (File.Exists(AWBDirectory + "AWBUpdater.exe.new"))
     {
         File.Copy(AWBDirectory + "AWBUpdater.exe.new", AWBDirectory + "AWBUpdater.exe", true);
         File.Delete(AWBDirectory + "AWBUpdater.exe.new");
     }
     setProgress(70);
 }
Esempio n. 2
0
 /// <summary>
 /// Checks to see if AWBUpdater.exe.new exists, if it does, replace it.
 /// If not, see if the version of AWB Updater is older than the version on the checkpage, and run AWBUpdater if so
 /// </summary>
 public static void UpdateAWB(Tools.SetProgress setProgress)
 {
     setProgress(22);
     Update();
     setProgress(29);
 }