mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 05:31:03 +00:00
Update security.js
This commit is contained in:
parent
47f5b9857a
commit
df3c2b22b6
|
@ -63,9 +63,9 @@ function getAntiVirusProducts() {
|
||||||
function OpenThreatSettings() {
|
function OpenThreatSettings() {
|
||||||
var FN_MSASCui = SYS.getEnvString("%ProgramFiles%") + "\\Windows Defender\\MSASCui.exe";
|
var FN_MSASCui = SYS.getEnvString("%ProgramFiles%") + "\\Windows Defender\\MSASCui.exe";
|
||||||
if (!FILE.fileExists(FN_MSASCui)) {
|
if (!FILE.fileExists(FN_MSASCui)) {
|
||||||
SHELL.runAs(FN_MSASCui); // old Windows Defender
|
|
||||||
} else {
|
|
||||||
SHELL.runAs("windowsdefender://Threatsettings");
|
SHELL.runAs("windowsdefender://Threatsettings");
|
||||||
|
} else {
|
||||||
|
SHELL.runAs(FN_MSASCui); // old Windows Defender
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user