Kaynağa Gözat

Update global hotkey (#4207)

* Bump global-hotkey version

* Cargo lock bump

---------

Co-authored-by: = <=>
leo030303 4 hafta önce
ebeveyn
işleme
f963958c3f
3 değiştirilmiş dosya ile 6 ekleme ve 5 silme
  1. 4 3
      Cargo.lock
  2. 1 1
      Cargo.toml
  3. 1 1
      packages/desktop/Cargo.toml

+ 4 - 3
Cargo.lock

@@ -6371,9 +6371,9 @@ checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"
 
 [[package]]
 name = "global-hotkey"
-version = "0.6.4"
+version = "0.7.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "41fbb3a4e56c901ee66c190fdb3fa08344e6d09593cc6c61f8eb9add7144b271"
+checksum = "b9247516746aa8e53411a0db9b62b0e24efbcf6a76e0ba73e5a91b512ddabed7"
 dependencies = [
  "crossbeam-channel",
  "keyboard-types",
@@ -6382,7 +6382,8 @@ dependencies = [
  "once_cell",
  "thiserror 2.0.12",
  "windows-sys 0.59.0",
- "x11-dl",
+ "x11rb",
+ "xkeysym",
 ]
 
 [[package]]

+ 1 - 1
Cargo.toml

@@ -317,7 +317,7 @@ webbrowser = "1.0.3"
 infer = "0.19.0"
 dunce = "1.0.5"
 urlencoding = "2.1.3"
-global-hotkey = "0.6.4"
+global-hotkey = "0.7.0"
 rfd = { version = "0.15.2", default-features = false }
 muda = "0.16.1"
 cocoa = "0.26"

+ 1 - 1
packages/desktop/Cargo.toml

@@ -58,7 +58,7 @@ signal-hook = "0.3.17"
 wry = { workspace = true, features = ["os-webview", "protocol", "drag-drop", "linux-body"] }
 
 [target.'cfg(any(target_os = "windows",target_os = "macos",target_os = "linux",target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
-global-hotkey = "0.6.4"
+global-hotkey = "0.7.0"
 rfd = { version = "0.15.2", default-features = false, features = ["xdg-portal", "tokio"] }
 muda = { workspace = true }