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

Improved meshcmd.js generation, faster windows agent startup.

This commit is contained in:
Ylian Saint-Hilaire 2018-12-31 18:09:19 -08:00
parent 1be520624c
commit 5d6bd55249
45 changed files with 60 additions and 28 deletions

View file

@ -0,0 +1 @@
function powerMonitor(){this._ObjectID="power-monitor";require("events").EventEmitter.call(this,true).createEvent("changed").createEvent("sx").createEvent("batteryLevel").createEvent("acdc").createEvent("display");this._i=setImmediate(function(a){require("user-sessions");delete a._i},this)}module.exports=new powerMonitor();