mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-06-06 21:29:02 +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'
|
||||
function isElevated = function() {
|
||||
var isElevated = function() {
|
||||
try {
|
||||
CreateObject("WScript.Shell").RegRead("HKEY_USERS\\s-1-5-19\\");
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user