mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-22 22:17:31 +03:00
Added RDP folder to package.json and disabled WebRTC by default.
This commit is contained in:
parent
886e518240
commit
bc0dc743f1
@ -3481,6 +3481,7 @@ function mainStart() {
|
|||||||
// Check if RDP support if present
|
// Check if RDP support if present
|
||||||
var mstsc = true;
|
var mstsc = true;
|
||||||
try { require('./rdp') } catch (ex) { mstsc = false; }
|
try { require('./rdp') } catch (ex) { mstsc = false; }
|
||||||
|
console.log('mstsc', mstsc);
|
||||||
|
|
||||||
// Check if Windows SSPI, LDAP, Passport and YubiKey OTP will be used
|
// Check if Windows SSPI, LDAP, Passport and YubiKey OTP will be used
|
||||||
var sspi = false;
|
var sspi = false;
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
"*.js",
|
"*.js",
|
||||||
"amt",
|
"amt",
|
||||||
"bin",
|
"bin",
|
||||||
|
"rdp",
|
||||||
"views",
|
"views",
|
||||||
"emails",
|
"emails",
|
||||||
"agents",
|
"agents",
|
||||||
|
@ -1299,7 +1299,7 @@
|
|||||||
if (t != null) { desktopsettings = JSON.parse(t); }
|
if (t != null) { desktopsettings = JSON.parse(t); }
|
||||||
applyDesktopSettings();
|
applyDesktopSettings();
|
||||||
|
|
||||||
//attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
|
attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
|
||||||
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
|
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
|
||||||
|
|
||||||
// Session Refresh Timer
|
// Session Refresh Timer
|
||||||
|
@ -1481,7 +1481,7 @@
|
|||||||
if (!args.locale) { var x = getstore('loctag', 0); if ((x != null) && (x != '*')) { args.locale = x; } }
|
if (!args.locale) { var x = getstore('loctag', 0); if ((x != null) && (x != '*')) { args.locale = x; } }
|
||||||
debugmode = args.debug;
|
debugmode = args.debug;
|
||||||
|
|
||||||
//attemptWebRTC = true; // For now, default WebRTC off unless we set it in the URL.
|
attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
|
||||||
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
|
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
|
||||||
|
|
||||||
QV('p13AutoConnect', debugmode); // Files
|
QV('p13AutoConnect', debugmode); // Files
|
||||||
|
Loading…
Reference in New Issue
Block a user