Exemplo n.º 1
0
 public static void StartUpdate(Views.UpdateDownloadWindow aUpdaterWindow, string url)
 {
     UpdaterWindow = aUpdaterWindow;
     if (UpdateState != eUpdateState.Downloading && UpdateState != eUpdateState.Extracting && UpdateState != eUpdateState.ReadyToInstall)
     {
         StartDownload(url);
     }
 }
Exemplo n.º 2
0
 public static void StartUpdate(Views.UpdateDownloadWindow aUpdaterWindow, string url, string hash)
 {
     _updaterWindow = aUpdaterWindow;
     _patchHash     = hash;
     if (_updateState != EUpdateState.Downloading && _updateState != EUpdateState.Extracting && _updateState != EUpdateState.ReadyToInstall)
     {
         StartDownload(url);
     }
 }