mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-14 13:41:05 +00:00
Update system.js
This commit is contained in:
parent
dee71fc0f6
commit
5e277df3c5
|
@ -11,7 +11,7 @@ var scope = {
|
||||||
var SHELL = require('lib/shell');
|
var SHELL = require('lib/shell');
|
||||||
var WSH = CreateObject("WScript.Shell");
|
var WSH = CreateObject("WScript.Shell");
|
||||||
var WMI = GetObject("winmgmts:\\\\.\\root\\CIMV2");
|
var WMI = GetObject("winmgmts:\\\\.\\root\\CIMV2");
|
||||||
var FSO = new ActiveXObject("Scripting.FileSystemObject");
|
var FSO = CreateObject("Scripting.FileSystemObject");
|
||||||
|
|
||||||
scope.isElevated = function() {
|
scope.isElevated = function() {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user