mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
1 parent
46a363cce4
commit
f05f86dc80
80 files changed
+1182
-1186
No files matched your search
@@ -126,7 +126,7 @@ pub fn is_can_screen_recording(prompt: bool) -> bool {
|
||||
if !can_record_screen && prompt {
|
||||
use scrap::{Capturer, Display};
|
||||
if let Ok(d) = Display::primary() {
|
||||
Capturer::new(d, true).ok();
|
||||
Capturer::new(d).ok();
|
||||
}
|
||||
}
|
||||
can_record_screen
|
||||
|
||||
Reference in new issue
Block a user