From e9f10fda1b2b54bb2edac40f7d169dc8de990acb Mon Sep 17 00:00:00 2001 From: Yao Sun Date: Mon, 2 Oct 2023 14:56:39 -0700 Subject: [PATCH] Platform source should not be blocked by policycheck --- src/AppInstallerRepositoryCore/SourcePolicy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/AppInstallerRepositoryCore/SourcePolicy.cpp b/src/AppInstallerRepositoryCore/SourcePolicy.cpp index a5324d1226..84a1859b0a 100644 --- a/src/AppInstallerRepositoryCore/SourcePolicy.cpp +++ b/src/AppInstallerRepositoryCore/SourcePolicy.cpp @@ -173,6 +173,9 @@ namespace AppInstaller::Repository return IsDefaultSourceEnabled(source, ExperimentalFeature::Feature::None, onlyExplicit, TogglePolicy::Policy::DefaultSource); case AppInstaller::Repository::WellKnownSource::MicrosoftStore: return IsDefaultSourceEnabled(source, ExperimentalFeature::Feature::None, onlyExplicit, TogglePolicy::Policy::MSStoreSource); + case AppInstaller::Repository::WellKnownSource::DesktopFrameworks: + // No corresponding policy available for this source. + return true; } return false;