diff --git a/DisplayMagician/Program.cs b/DisplayMagician/Program.cs index d8c0ff0..839f530 100644 --- a/DisplayMagician/Program.cs +++ b/DisplayMagician/Program.cs @@ -965,7 +965,7 @@ namespace DisplayMagician { AutoUpdater.ParseUpdateInfoEvent += AutoUpdaterOnParseUpdateInfoEvent; AutoUpdater.RunUpdateAsAdmin = true; AutoUpdater.HttpUserAgent = "DisplayMagician AutoUpdater"; - if (Program.AppProgramSettings.UpgradeToPreReleases) + if (Program.AppProgramSettings.UpgradeToPreReleases == false) { AutoUpdater.Start("http://displaymagician.littlebitbig.com/update/update_2.0.json"); } diff --git a/DisplayMagician/UIForms/SettingsForm.cs b/DisplayMagician/UIForms/SettingsForm.cs index ac9c7db..2fab405 100644 --- a/DisplayMagician/UIForms/SettingsForm.cs +++ b/DisplayMagician/UIForms/SettingsForm.cs @@ -39,7 +39,7 @@ namespace DisplayMagician.UIForms private void SettingsForm_Load(object sender, EventArgs e) { // start displaymagician when computer starts - if (Program.AppProgramSettings.StartOnBootUp) + if (Program.AppProgramSettings.StartOnBootUp == true) { cb_start_on_boot.Checked = true; logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings StartOnBootUp set to true"); @@ -51,7 +51,7 @@ namespace DisplayMagician.UIForms } // setup minimise on start - if (Program.AppProgramSettings.MinimiseOnStart) + if (Program.AppProgramSettings.MinimiseOnStart == true) { cb_minimise_notification_area.Checked = true; logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings MinimiseOnStart set to true"); @@ -63,7 +63,7 @@ namespace DisplayMagician.UIForms } // start upgrade settings - if (Program.AppProgramSettings.UpgradeToPreReleases) + if (Program.AppProgramSettings.UpgradeToPreReleases == true) { cb_upgrade_prerelease.Checked = true; logger.Info($"SettingsForm/SettingsForm_Load: AppProgramSettings UpgradeToPreReleases set to true");