mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-13 07:11:34 -05:00
Added terminal start command option
This commit is contained in:
@@ -507,10 +507,18 @@
|
||||
"type": "object",
|
||||
"description": "Values that affect the terminal feature",
|
||||
"properties": {
|
||||
"linuxshell": {
|
||||
"linuxShell": {
|
||||
"type": "string",
|
||||
"enum": [ "any", "root", "user", "login" ],
|
||||
"default": "any"
|
||||
"default": "any",
|
||||
"description": "Indicate what terminal options are available when the user clicks the right mouse button on the terminal connect button."
|
||||
},
|
||||
"launchCommand": {
|
||||
"type": "object",
|
||||
"description": "Indicate what string the agent must write to the shell after starting a terminal session",
|
||||
"linux": { "type": "string", "default": " alias ls=\\'ls --color=auto\\';clear\\n", "description": "String to write after opening a Linux terminal." },
|
||||
"darwin": { "type": "string", "default": null, "description": "String to write after opening a macOS terminal." },
|
||||
"freebsd": { "type": "string", "default": null, "description": "String to write after opening a FreeBSD terminal." },
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user