예제 #1
0
        private async Task InstallUpdate(object obj)
        {
            _eventAggregator.GetEvent <SetShowUpdateEvent>().Publish(false);
            FinishStep();

            await _updateLauncher.LaunchUpdate(_updateAssistant.OnlineVersion);
        }
예제 #2
0
        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;
            }
        }
예제 #3
0
 public void InstallNewUpdate()
 {
     _updateLauncher.LaunchUpdate(OnlineVersion);
 }
 private async Task InstallUpdate()
 {
     await _updateLauncher.LaunchUpdate(_updateAssistant.OnlineVersion);
 }