Added RDP folder to package.json and disabled WebRTC by default.
Ylian Saint-Hilaire committed
Apr 30, 2022 at 20:07 UTC
bc0dc743f1aa2e6e8230d0cea13d2aea7a8935fc
4 files changed
+4
-2
meshcentral.js
+1
@@ -3481,6 +3481,7 @@ function mainStart() {
3481
// Check if RDP support if present
3482
var mstsc = true;
3483
try { require('./rdp') } catch (ex) { mstsc = false; }
3484
+ console.log('mstsc', mstsc);
3485
3486
// Check if Windows SSPI, LDAP, Passport and YubiKey OTP will be used
3487
var sspi = false;
package.json
+1
@@ -25,6 +25,7 @@
25
"*.js",
26
"amt",
27
"bin",
28
+ "rdp",
29
"views",
30
"emails",
31
"agents",
views/default-mobile.handlebars
+1
-1
@@ -1299,7 +1299,7 @@
1299
if (t != null) { desktopsettings = JSON.parse(t); }
1300
applyDesktopSettings();
1301
1302
- //attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
1302
+ attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
1303
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
1304
1305
// Session Refresh Timer
views/default.handlebars
+1
-1
@@ -1481,7 +1481,7 @@
1481
if (!args.locale) { var x = getstore('loctag', 0); if ((x != null) && (x != '*')) { args.locale = x; } }
1482
debugmode = args.debug;
1483
1484
- //attemptWebRTC = true; // For now, default WebRTC off unless we set it in the URL.
1484
+ attemptWebRTC = false; // For now, default WebRTC off unless we set it in the URL.
1485
if (args.webrtc != null) { attemptWebRTC = (args.webrtc == 1); }
1486
1487
QV('p13AutoConnect', debugmode); // Files