private void CheckUpdates_Click(object sender, RoutedEventArgs e) { UserStartedUpdateText.Text = (string)this.Resources["LookingForUpdates"]; _TataruModel.TataruViewModel.UpdateCheckByUser = true; _TataruModel.TataruViewModel.UserStartedUpdateTextVisibility = true; _Updater.CheckAndInstallUpdates(CmdArgsStatus.PreRelease); }
private async Task UpdateTimerHandler() { await Task.Run(() => { _Updater?.CheckAndInstallUpdates(CmdArgsStatus.PreRelease); }); }