mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-07 13:49:04 +00:00
Update security.js
fix wrong typo
This commit is contained in:
parent
10606532cb
commit
2bff4df4be
|
@ -14,7 +14,7 @@ function __BOOL_TO_DWORD__(x) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check 'Run as administrator'
|
// Check 'Run as administrator'
|
||||||
function isElevated = function() {
|
var isElevated = function() {
|
||||||
try {
|
try {
|
||||||
CreateObject("WScript.Shell").RegRead("HKEY_USERS\\s-1-5-19\\");
|
CreateObject("WScript.Shell").RegRead("HKEY_USERS\\s-1-5-19\\");
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user