update translate, fix bootstrap version panel, deskbackground

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
si458 2024-12-01 22:26:03 +00:00
parent 8e8ec4f88a
commit d9262f7c9d
4 changed files with 3261 additions and 3254 deletions

View File

@ -3881,7 +3881,7 @@ function processConsoleCommand(cmd, args, rights, sessionid) {
if (require('os').dns != null) { availcommands += ',dnsinfo'; } if (require('os').dns != null) { availcommands += ',dnsinfo'; }
try { require('linux-dhcp'); availcommands += ',dhcp'; } catch (ex) { } try { require('linux-dhcp'); availcommands += ',dhcp'; } catch (ex) { }
if (process.platform == 'win32') { if (process.platform == 'win32') {
availcommands += ',bitlocker,cs,wpfhwacceleration,uac,volumes,rdpport'; availcommands += ',bitlocker,cs,wpfhwacceleration,uac,volumes,rdpport,deskbackground';
if (bcdOK()) { availcommands += ',safemode'; } if (bcdOK()) { availcommands += ',safemode'; }
if (require('notifybar-desktop').DefaultPinned != null) { availcommands += ',privacybar'; } if (require('notifybar-desktop').DefaultPinned != null) { availcommands += ',privacybar'; }
try { require('win-utils'); availcommands += ',taskbar'; } catch (ex) { } try { require('win-utils'); availcommands += ',taskbar'; } catch (ex) { }

File diff suppressed because it is too large Load Diff

View File

@ -3546,6 +3546,7 @@
showModal('xxAddAgentModal', 'idx_dlgOkButton'); showModal('xxAddAgentModal', 'idx_dlgOkButton');
} else { } else {
x += '<hr />' + "Check and click OK to start server self-update."; x += '<hr />' + "Check and click OK to start server self-update.";
xxdialogTag = message.tags;
setModalContent('xxAddAgent', 'MeshCentral Version', x); setModalContent('xxAddAgent', 'MeshCentral Version', x);
showModal('xxAddAgentModal', 'idx_dlgOkButton', function () { showModal('xxAddAgentModal', 'idx_dlgOkButton', function () {
server_showVersionDlgEx(2, message.tags); server_showVersionDlgEx(2, message.tags);

View File

@ -448,7 +448,7 @@
agentDesktop.onPreDrawImage = preCanvasDraw; agentDesktop.onPreDrawImage = preCanvasDraw;
agentDesktop.State = 3; agentDesktop.State = 3;
deskAdjust(); deskAdjust();
QV('ConvertAsWebM', browser == 'chrome'); // Only show the "Convert to WebM button when in Chrome QV('ConvertAsWebM', true);
} }
else if (recFileMetadata.protocol == 101) { else if (recFileMetadata.protocol == 101) {
// Intel AMT Redirection // Intel AMT Redirection
@ -488,7 +488,7 @@
if (recFileMetadata.lowcolor) { amtDesktop.lowcolor = recFileMetadata.lowcolor; } if (recFileMetadata.lowcolor) { amtDesktop.lowcolor = recFileMetadata.lowcolor; }
amtDesktop.state = 3; amtDesktop.state = 3;
deskAdjust(); deskAdjust();
QV('ConvertAsWebM', browser == 'chrome'); // Only show the "Convert to WebM button when in Chrome QV('ConvertAsWebM', true);
} }
QV('metadatadiv', true); QV('metadatadiv', true);
QH('metadatadiv', x); QH('metadatadiv', x);