1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-10-15 19:35:45 +03:00

Add lnx_thincast_rdp_file field to RDPTransport and BaseRDPTransport for Thincast support

This commit is contained in:
aschumann-virtualcable
2025-09-09 10:42:40 +02:00
parent 1fddc17b75
commit b57b00f3fc
3 changed files with 13 additions and 0 deletions

View File

@@ -98,6 +98,8 @@ class RDPTransport(BaseRDPTransport):
mac_custom_parameters = BaseRDPTransport.mac_custom_parameters
wnd_custom_parameters = BaseRDPTransport.wnd_custom_parameters
lnx_thincast_rdp_file = BaseRDPTransport.lnx_thincast_rdp_file
def get_transport_script( # pylint: disable=too-many-locals
self,
userservice: 'models.UserService',

View File

@@ -324,6 +324,15 @@ class BaseRDPTransport(transports.Transport):
old_field_name='customParameters',
)
lnx_thincast_rdp_file = gui.CheckBoxField(
label=_('Use RDP file for Thincast'),
order=46,
tooltip=_('If marked, an RDP file will be used for connections with Thincast on Linux.'),
tab='Linux Client',
default=False,
old_field_name='thincastRdpFile',
)
mac_allow_msrdc = gui.CheckBoxField(
label=_('Allow Microsoft Rdp Client'),
order=50,

View File

@@ -114,6 +114,8 @@ class TRDPTransport(BaseRDPTransport):
lnx_custom_parameters = BaseRDPTransport.lnx_custom_parameters
mac_custom_parameters = BaseRDPTransport.mac_custom_parameters
wnd_custom_parameters = BaseRDPTransport.wnd_custom_parameters
lnx_thincast_rdp_file = BaseRDPTransport.lnx_thincast_rdp_file
# optimizeTeams = BaseRDPTransport.optimizeTeams
def initialize(self, values: 'types.core.ValuesType') -> None: