private void changeToolStripMenuItem_Click(object sender, EventArgs e) { // ReSharper disable once RedundantAssignment var bookmark = AppUpdate.GetInstalledVersion().Replace(".", ""); #if DEBUG bookmark = AppUpdate.GetLatestVersionInfo().Version.Replace(".", ""); #endif Process.Start($"https://github.com/BlueBlock/Elucidate/wiki/ChangeLog#{bookmark}"); }
private void ElucidateForm_Load(object sender, EventArgs e) { if (!File.Exists(Properties.Settings.Default.ConfigFileLocation)) { Properties.Settings.Default.ConfigFileIsValid = false; } VersionIndicator.Text = AppUpdate.GetInstalledVersion(); // check for new version and notify if available if (AppUpdate.IsNewVersionAvailable()) { MenuItemNewVersionAvailable.Visible = true; } }