mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
XTerm fixes.
This commit is contained in:
parent
bd319cd6fc
commit
cb1f3a4d16
3 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue