1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Code cleanup.

This commit is contained in:
Ylian Saint-Hilaire 2020-06-15 16:37:02 -07:00
parent 72d9698dce
commit cf54f6f34b
15 changed files with 802 additions and 802 deletions

View file

@ -613,7 +613,7 @@ function AmtStackCreateService(wsmanStack) {
1611: 'TLS Trusted Root Certificate Removed',
1612: 'TLS Preshared Key Set',
1613: 'Kerberos Settings Modified',
1614: 'Kerberos Master Key Modified',
1614: 'Kerberos Main Key Modified',
1615: 'Flash Wear out Counters Reset',
1616: 'Power Package Modified',
1617: 'Set Realm Authentication Mode',

View file

@ -50,12 +50,12 @@ function WiFiScanner()
{
if (process.platform == 'win32')
{
this.master = require('ScriptContainer').Create(15, ContainerPermissions.DEFAULT);
this.master.parent = this;
this.master.on('data', function (j) { this.parent.emit('accessPoint', new AccessPoint(j.ssid, j.bssid, j.lq)); });
this.main = require('ScriptContainer').Create(15, ContainerPermissions.DEFAULT);
this.main.parent = this;
this.main.on('data', function (j) { this.parent.emit('accessPoint', new AccessPoint(j.ssid, j.bssid, j.lq)); });
this.master.addModule('wifi-scanner-windows', getJSModule('wifi-scanner-windows'));
this.master.ExecuteString(WindowsChildScript);
this.main.addModule('wifi-scanner-windows', getJSModule('wifi-scanner-windows'));
this.main.ExecuteString(WindowsChildScript);
}
else if (process.platform == 'linux')
{