Try fixing...

This commit is contained in:
love-code-yeyixiao 2024-06-01 20:18:27 +08:00
parent 869f533a42
commit ea8e0829ee
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(_wcsnicmp(tempSid, L"S-1-5-18",8) != 0 && _wcsnicmp(tempSid, L"S-1-5-80",8) != 0 /* && _wcsnicmp(tempSid, L"S-1-5-20", 8) != 0 && _wcsnicmp(tempSid, L"S-1-5-6", 7) != 0 */ && SbieApi_QueryConfBool(NULL, L"HideNonSystemProcess", FALSE)) {
hideProcess = TRUE;
}
else