private async Task InstallUpdate(object obj) { _eventAggregator.GetEvent <SetShowUpdateEvent>().Publish(false); FinishStep(); await _updateLauncher.LaunchUpdate(_updateAssistant.OnlineVersion); }
private void LaunchNewUpdateForm(UpdateEventArgs eventArgs) { var interaction = new UpdateAvailableInteraction(Urls.PDFCreatorWhatsNewUrl, OnlineVersion.Version.ToString()); _interactionInvoker.Invoke(interaction); switch (interaction.Response) { case UpdateAvailableResponse.Install: _updateLauncher.LaunchUpdate(OnlineVersion); break; case UpdateAvailableResponse.Skip: eventArgs.SkipVersion = true; break; } }
public void InstallNewUpdate() { _updateLauncher.LaunchUpdate(OnlineVersion); }
private async Task InstallUpdate() { await _updateLauncher.LaunchUpdate(_updateAssistant.OnlineVersion); }