WikiFunctions.Updater.UpdateUpdaterFile C# (CSharp) Method

UpdateUpdaterFile() public static method

Checks to see if AWBUpdater.exe.new exists, if it does, replace it.
public static UpdateUpdaterFile ( ) : void
return void
        public static void UpdateUpdaterFile()
        {
            if (File.Exists(AWBDirectory + "AWBUpdater.exe.new"))
            {
                File.Copy(AWBDirectory + "AWBUpdater.exe.new", AWBDirectory + "AWBUpdater.exe", true);
                File.Delete(AWBDirectory + "AWBUpdater.exe.new");
            }
        }