mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed AV status on Windows Server, started work on session recording
This commit is contained in:
parent
aca7523d4f
commit
ba78910fc9
9 changed files with 61 additions and 20 deletions
|
@ -2241,8 +2241,8 @@ function createMeshCore(agent)
|
|||
|
||||
if ((flags & 4) && (process.platform == 'win32')) {
|
||||
// Update anti-virus information
|
||||
var av = [];
|
||||
//try { av = require('win-info').av(); } catch (ex) { av = [ { product: 'Error', updated: false, enabled: false } ]; }
|
||||
var av;
|
||||
try { av = require('win-info').av(); } catch (ex) { av = []; }
|
||||
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