opt: catch error of grab

This commit is contained in:
Asura
2022-12-11 06:22:24 -08:00
parent bdd0fbbe6c
commit 941b7a365b
3 changed files with 12 additions and 32 deletions

28
Cargo.lock generated
View File

@@ -1533,7 +1533,7 @@ dependencies = [
"log",
"objc",
"pkg-config",
"rdev 0.5.0-2 (git+https://github.com/asur4s/rdev)",
"rdev",
"serde 1.0.147",
"serde_derive",
"tfc",
@@ -4229,29 +4229,7 @@ dependencies = [
[[package]]
name = "rdev"
version = "0.5.0-2"
source = "git+https://github.com/asur4s/rdev#4051761e7ccf434a443b8e9592c23160c9cace56"
dependencies = [
"cocoa",
"core-foundation 0.9.3",
"core-foundation-sys 0.8.3",
"core-graphics 0.22.3",
"enum-map",
"epoll",
"inotify",
"lazy_static",
"libc",
"mio 0.8.5",
"strum 0.24.1",
"strum_macros 0.24.3",
"widestring 1.0.2",
"winapi 0.3.9",
"x11 2.20.0",
]
[[package]]
name = "rdev"
version = "0.5.0-2"
source = "git+https://github.com/rustdesk/rdev#25c29f61bfdf5d8ec50f0a8a7743bc1d85eb2c04"
source = "git+https://github.com/asur4s/rdev#3d6d413a9b2ab703edc22071acea31826b0efce3"
dependencies = [
"cocoa",
"core-foundation 0.9.3",
@@ -4540,7 +4518,7 @@ dependencies = [
"num_cpus",
"objc",
"parity-tokio-ipc",
"rdev 0.5.0-2 (git+https://github.com/rustdesk/rdev)",
"rdev",
"repng",
"reqwest",
"rpassword 7.1.0",