mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
More work on Intel AMT Click Once Recovery.
This commit is contained in:
parent
a3f85bd042
commit
1c47f13090
2 changed files with 28 additions and 3 deletions
|
@ -3438,7 +3438,10 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
|
|||
if ((node == null) || (rights != 0xFFFFFFFF) || (visible == false)) { res.sendStatus(404); return; } // We don't have remote control rights to this device
|
||||
for (var i in files.files) {
|
||||
var file = files.files[i];
|
||||
console.log('ClickOnceRecovery', file); // TODO
|
||||
|
||||
// Perform Intel AMT Click Once Recovery
|
||||
console.log('ClickOnceRecovery', node._id, file.path);
|
||||
|
||||
try { obj.fs.unlinkSync(file.path); } catch (e) { }
|
||||
}
|
||||
res.send('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue