mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Update security.js
This commit is contained in:
parent
df3c2b22b6
commit
f6ec022378
|
@ -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("windowsdefender://Threatsettings");
|
||||
SHELL.runAs("windowsdefender://Threatsettings"); // Windows 10
|
||||
} else {
|
||||
SHELL.runAs(FN_MSASCui); // old Windows Defender
|
||||
SHELL.runAs(FN_MSASCui); // old Windows
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ exports.setDisableTaskMgr = setDisableTaskMgr;
|
|||
exports.getAntiVirusProducts = getAntiVirusProducts;
|
||||
exports.OpenThreatSettings = OpenThreatSettings;
|
||||
|
||||
exports.VERSIONINFO = "Security Policy Module (security.js) version 0.2";
|
||||
exports.VERSIONINFO = "Security Policy Module (security.js) version 0.2.1";
|
||||
exports.AUTHOR = "catswords@protonmail.com";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user