Skip to content

Commit

Permalink
Platform source should not be blocked by policycheck
Browse files Browse the repository at this point in the history
  • Loading branch information
yao-msft committed Oct 2, 2023
1 parent 8d5ca42 commit e9f10fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AppInstallerRepositoryCore/SourcePolicy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9f10fd

Please sign in to comment.