From a82cef1201dc600f9fc374644a08255222b9b917 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Tue, 27 Oct 2020 12:05:08 -0400 Subject: [PATCH] ConfigStep: start maintenance with Git on macOS For the 20.10.178 release, we only promoted background maintenance via Git and cron for the Linux platform because it did not have a service project. We are now removing the service on macOS, so use the background maintenance on all platforms _except_ Windows. Signed-off-by: Derrick Stolee --- Scalar.Common/Maintenance/ConfigStep.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scalar.Common/Maintenance/ConfigStep.cs b/Scalar.Common/Maintenance/ConfigStep.cs index 88397411..d7c9ec95 100644 --- a/Scalar.Common/Maintenance/ConfigStep.cs +++ b/Scalar.Common/Maintenance/ConfigStep.cs @@ -303,7 +303,7 @@ namespace Scalar.Common.Maintenance return true; } - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) { // We still use Scalar.Service on this platform error = null;