This commit is contained in:
love-code-yeyixiao 2024-06-01 10:44:11 +08:00
parent 5eb32ee934
commit 410b672abc
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ _FX void SysInfo_DiscardProcesses(SYSTEM_PROCESS_INFORMATION *buf)
break;
SbieApi_QueryProcess(next->UniqueProcessId, boxname, NULL, tempSid, &tempSession);
BOOL hideProcess = FALSE;
if(_wcsicmp(tempSid, L"S-1-5-18") != 0 && _wcsicmp(tempSid, L"S-1-5-80") != 0 && _wcsicmp(tempSid, L"S-1-5-20") != 0 && !_wcsicmp(tempSid, L"S-1-5-6") == 0 && SbieApi_QueryConfBool(NULL, L"HideNonSystemProcess", FALSE)) {
if(_wcsicmp(tempSid, L"S-1-5-18") != 0 && _wcsicmp(tempSid, L"S-1-5-80") != 0 && _wcsicmp(tempSid, L"S-1-5-20") != 0 && _wcsicmp(tempSid, L"S-1-5-6") != 0 && SbieApi_QueryConfBool(NULL, L"HideNonSystemProcess", FALSE)) {
hideProcess = TRUE;
}
else