mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Removed clonings.
This commit is contained in:
parent
a57ee45388
commit
f57e8a8253
8 changed files with 62 additions and 66 deletions
|
@ -2427,7 +2427,7 @@ function createMeshCore(agent) {
|
|||
if ((flags & 4) && (process.platform == 'win32')) {
|
||||
// Update anti-virus information
|
||||
var av, pr;
|
||||
try { av = require('win-info').av(); } catch (ex) { av = []; } // Antivirus
|
||||
try { av = require('win-info').av(); } catch (ex) { av = null; } // Antivirus
|
||||
//if (process.platform == 'win32') { try { pr = require('win-info').pendingReboot(); } catch (ex) { pr = null; } } // Pending reboot
|
||||
if ((meshCoreObj.av == null) || (JSON.stringify(meshCoreObj.av) != JSON.stringify(av))) { meshCoreObj.av = av; mesh.SendCommand(meshCoreObj); }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue