Added terminal device sharing.

This commit is contained in:
Ylian Saint-Hilaire
2020-11-27 13:55:02 -08:00
parent 76cd48105f
commit 1b2a63977b
13 changed files with 2528 additions and 2006 deletions

File diff suppressed because one or more lines are too long

View File

@@ -76,7 +76,6 @@ var CreateAgentRedirect = function (meshserver, module, serverPublicNamePort, au
var controlMsg;
try { controlMsg = JSON.parse(msg); } catch (e) { return; }
if (controlMsg.ctrlChannel != '102938') { obj.m.ProcessData(msg); return; }
//console.log(controlMsg);
if ((typeof args != 'undefined') && args.redirtrace) { console.log('RedirRecv', controlMsg); }
if (controlMsg.type == 'console') {
obj.setConsoleMessage(controlMsg.msg, controlMsg.msgid, controlMsg.msgargs, controlMsg.timeout);