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:
@@ -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',
|
||||
|
@@ -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,
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user