From 00774fe724ad5c2dbb4477fe7ac20c9004860c12 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Sun, 22 Sep 2024 07:58:02 -0500 Subject: [PATCH] Signing builds makes dev build wiki obsolete --- Cmdline/Action/Upgrade.cs | 6 ------ Core/HelpURLs.cs | 1 - GUI/Main/MainAutoUpdate.cs | 6 ------ 3 files changed, 13 deletions(-) diff --git a/Cmdline/Action/Upgrade.cs b/Cmdline/Action/Upgrade.cs index 46f7bc238..d09492f63 100644 --- a/Cmdline/Action/Upgrade.cs +++ b/Cmdline/Action/Upgrade.cs @@ -72,12 +72,6 @@ public int RunCommand(CKAN.GameInstance instance, object raw_options) || (!options.stable_release && (config.DevBuilds ?? false)); if (devBuild != config.DevBuilds) { - if (!config.DevBuilds.HasValue && devBuild && Platform.IsWindows) - { - // Tell Windows users about malware scanner's false positives - // and how to disable it, if they feel safe doing it - Utilities.ProcessStartURL(HelpURLs.WindowsDevBuilds); - } config.DevBuilds = devBuild; user.RaiseMessage( config.DevBuilds ?? false diff --git a/Core/HelpURLs.cs b/Core/HelpURLs.cs index 4be9dfcf0..1d5f3fe02 100644 --- a/Core/HelpURLs.cs +++ b/Core/HelpURLs.cs @@ -13,7 +13,6 @@ public static class HelpURLs public const string ModPacks = "https://github.com/KSP-CKAN/CKAN/wiki/Sharing-a-modlist-%28metapackages%29"; public const string AuthTokens = "https://github.com/KSP-CKAN/CKAN/wiki/Adding-a-GitHub-API-authtoken"; public const string CertificateErrors = "https://github.com/KSP-CKAN/CKAN/wiki/SSL-certificate-errors"; - public const string WindowsDevBuilds = "https://github.com/KSP-CKAN/CKAN/wiki/Using-dev-builds-on-Windows"; public const string CloneFakeInstances = "https://github.com/KSP-CKAN/CKAN/pull/2627"; public const string DeleteDirectories = "https://github.com/KSP-CKAN/CKAN/pull/2962"; diff --git a/GUI/Main/MainAutoUpdate.cs b/GUI/Main/MainAutoUpdate.cs index 7b007d5bb..650c7ac60 100644 --- a/GUI/Main/MainAutoUpdate.cs +++ b/GUI/Main/MainAutoUpdate.cs @@ -32,12 +32,6 @@ private void AutoUpdatePrompts(IConfiguration coreConfig, coreConfig.DevBuilds = !YesNoDialog(Properties.Resources.MainReleasesOrDevBuildsPrompt, Properties.Resources.MainReleasesOrDevBuildsYes, Properties.Resources.MainReleasesOrDevBuildsNo); - if (coreConfig.DevBuilds.Value && Platform.IsWindows) - { - // Tell Windows users about malware scanner's false positives - // and how to disable it, if they feel safe doing it - Utilities.ProcessStartURL(HelpURLs.WindowsDevBuilds); - } } }