mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 06:34:54 +03:00
XTerm fixes.
This commit is contained in:
parent
bd319cd6fc
commit
cb1f3a4d16
@ -1203,6 +1203,7 @@ function createMeshCore(agent) {
|
||||
var bash = fs.existsSync('/bin/bash') ? '/bin/bash' : false;
|
||||
var sh = fs.existsSync('/bin/sh') ? '/bin/sh' : false;
|
||||
var script = false;
|
||||
/*
|
||||
try {
|
||||
if (require('linux-gnome-helpers').scriptVersion) {
|
||||
if (require('linux-gnome-helpers').scriptVersion.major > 2 ||
|
||||
@ -1211,7 +1212,8 @@ function createMeshCore(agent) {
|
||||
}
|
||||
}
|
||||
} catch (ex) { }
|
||||
var python = fs.existsSync('/usr/bin/python') ? '/usr/bin/python' : false;
|
||||
*/
|
||||
var python = false; //fs.existsSync('/usr/bin/python') ? '/usr/bin/python' : false;
|
||||
var shell = bash || sh;
|
||||
var pty = python || script;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "meshcentral",
|
||||
"version": "0.4.8-d",
|
||||
"version": "0.4.8-e",
|
||||
"keywords": [
|
||||
"Remote Management",
|
||||
"Intel AMT",
|
||||
|
@ -161,6 +161,7 @@
|
||||
if (resizeTimer) clearTimeout(resizeTimer);
|
||||
resizeTimer = setTimeout(sendResize, 200);
|
||||
});
|
||||
term.setOption('convertEol', true); // Consider \n to be \r\n, this should be taken care of by "termios"
|
||||
|
||||
// Setup a terminal tunnel to the agent
|
||||
tunnel = CreateAgentRedirect(meshserver, CreateRemoteTunnel(tunnelUpdate, options), serverPublicNamePort, authCookie, authRelayCookie, domainUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user