mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-06 06:54:58 +00:00
Update security.js
This commit is contained in:
parent
47f5b9857a
commit
df3c2b22b6
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user