feat: rdp file 支持设置多屏显示

pull/11123/head
Bai 2023-07-28 18:06:38 +08:00
parent 38cee8eaa4
commit 07f4fdd92d
1 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,10 @@ class RDPFileClientProtocolURLMixin:
'use redirection server name:i': '0',
'smart sizing:i': '1',
}
# 设置多屏显示
multi_mon = is_true(self.request.query_params.get('multi_mon'))
if multi_mon:
rdp_options['use multimon:i'] = '1'
# 设置磁盘挂载
drives_redirect = is_true(self.request.query_params.get('drives_redirect'))