Skip to content

Commit

Permalink
address yao's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Jun 4, 2024
1 parent d62ac70 commit ebc6498
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,9 @@ namespace AppInstaller::CLI::ConfigurationRemoting
// If we got here, the only option is that the current integrity level is not High.
if (integrityLevel == Security::IntegrityLevel::High)
{
bool useRunAs = true;
#ifndef DISABLE_TEST_HOOKS
bool useRunAs = !GetConfigurationSetMetadataOverride(m_configurationSet, EnableTestModeTestGuid);
#elif
bool useRunAs = true;
#endif

factory = CreateOutOfProcessFactory(useRunAs, SerializeSetProperties(), SerializeHighIntegrityLevelSet());
Expand Down

0 comments on commit ebc6498

Please sign in to comment.