public void ModifyApplicationSettings() { bool?bRelaunchUnstable = ApplicationSettingsWindow.ShowModal(this, bUnstable, OriginalExecutableFileName, Settings, Log); if (bRelaunchUnstable.HasValue) { UpdateMonitor.TriggerUpdate(UpdateType.UserInitiated, bRelaunchUnstable); } }
private void OnActivationListenerCallback() { // Check if we're trying to reopen with the unstable version; if so, trigger an update to trigger a restart with the new executable if (!bUnstable && (Control.ModifierKeys & Keys.Shift) != 0) { UpdateMonitor.TriggerUpdate(); } else { ShowAndActivate(); } }