Update security.js

This commit is contained in:
Namhyeon Go 2022-11-06 17:56:10 +09:00 committed by GitHub
parent 47f5b9857a
commit df3c2b22b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,9 +63,9 @@ function getAntiVirusProducts() {
function OpenThreatSettings() {
var FN_MSASCui = SYS.getEnvString("%ProgramFiles%") + "\\Windows Defender\\MSASCui.exe";
if (!FILE.fileExists(FN_MSASCui)) {
SHELL.runAs(FN_MSASCui); // old Windows Defender
} else {
SHELL.runAs("windowsdefender://Threatsettings");
} else {
SHELL.runAs(FN_MSASCui); // old Windows Defender
}
}