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

pull/11122/head
Bai 2023-07-28 17:45:12 +08:00
parent 38cee8eaa4
commit 53c8c2d9ea
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ class RDPFileClientProtocolURLMixin:
'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'))
if drives_redirect: