mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
feat, install indirect display driver when installing the app
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
1 parent
c223d6a87d
commit
3f3bca753c
2 files changed
+9
No files matched your search
@@ -53,6 +53,13 @@ impl VirtualDisplayManager {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn install_update_driver() -> ResultType<()> {
|
||||
VIRTUAL_DISPLAY_MANAGER
|
||||
.lock()
|
||||
.unwrap()
|
||||
.install_update_driver()
|
||||
}
|
||||
|
||||
pub fn plug_in_headless() -> ResultType<()> {
|
||||
let mut manager = VIRTUAL_DISPLAY_MANAGER.lock().unwrap();
|
||||
manager.prepare_driver()?;
|
||||
|
||||
Reference in new issue
Block a user