add sessionrecordings for powershell/user shells #7035

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458
2025-05-20 20:11:34 +01:00
parent b97caabc35
commit 158107d6ae
6 changed files with 673 additions and 588 deletions

View File

@@ -401,6 +401,9 @@
var p = recFileMetadata.protocol;
if (p == 1) { p = "MeshCentral Terminal"; }
else if (p == 2) { p = "MeshCentral Desktop"; }
else if (p == 6) { p = "Admin PowerShell"; }
else if (p == 8) { p = "User Shell"; }
else if (p == 9) { p = "User PowerShell"; }
else if (p == 100) { p = "Intel&reg; AMT WSMAN"; }
else if (p == 101) { p = "Intel&reg; AMT Redirection"; }
else if ((p == 102) || (p == 200 && recFileMetadata.bpp != null)) { p = "Intel&reg; AMT KVM"; }
@@ -427,7 +430,7 @@
QV('TermParent', false);
QV('XTermParent', false);
QV('ConvertAsWebM', false);
if (recFileMetadata.protocol == 1) {
if ((recFileMetadata.protocol == 1) || (recFileMetadata.protocol == 6) || (recFileMetadata.protocol == 8) || (recFileMetadata.protocol == 9)) {
// MeshCentral remote terminal
recFileProtocol = 1;
x += '<br /><br /><span style=color:gray>' + "Press [space] to play/pause." + '</span>';