Added RDP folder to package.json and disabled WebRTC by default.

This commit is contained in:
Ylian Saint-Hilaire 2022-04-30 20:07:39 -07:00
parent 886e518240
commit bc0dc743f1
4 changed files with 4 additions and 2 deletions

View File

@ -3481,6 +3481,7 @@ function mainStart() {
// Check if RDP support if present
var mstsc = true;
try { require('./rdp') } catch (ex) { mstsc = false; }
console.log('mstsc', mstsc);
// Check if Windows SSPI, LDAP, Passport and YubiKey OTP will be used
var sspi = false;

View File

@ -25,6 +25,7 @@
"*.js",
"amt",
"bin",
"rdp",
"views",
"emails",
"agents",

View File

@ -1299,7 +1299,7 @@
if (t != null) { desktopsettings = JSON.parse(t); }
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); }
// Session Refresh Timer

View File

@ -1481,7 +1481,7 @@
if (!args.locale) { var x = getstore('loctag', 0); if ((x != null) && (x != '*')) { args.locale = x; } }
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); }
QV('p13AutoConnect', debugmode); // Files