mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-05 05:50:04 +08:00
fix(linux): return when the startup dialog cannot initialize GTK
This commit is contained in:
@@ -57,7 +57,6 @@ tristr = { workspace = true }
|
||||
socket2 = { workspace = true }
|
||||
warp = { version = "0.4.4", features = ["server"] }
|
||||
open = "5.4.5"
|
||||
rfd = { version = "0.18.0", default-features = false, features = ["common-controls-v6"] }
|
||||
dirs = "7.0.0"
|
||||
dunce = "1.0.5"
|
||||
nanoid = "0.5"
|
||||
@@ -110,10 +109,14 @@ specta-typescript = "=0.0.13"
|
||||
libc = "0.2.191"
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies]
|
||||
gtk = "0.19"
|
||||
tauri = { workspace = true, features = ["linux-ksni"] }
|
||||
# Upstream has no session-end signal support on Linux; see crates/clash-verge-signal.
|
||||
clash-verge-signal = { workspace = true }
|
||||
|
||||
[target.'cfg(not(target_os = "linux"))'.dependencies]
|
||||
rfd = { version = "0.18.0", default-features = false, features = ["common-controls-v6"] }
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies]
|
||||
tauri-plugin-wdio-webdriver = { version = "=2.0.0-next.0", optional = true }
|
||||
objc2 = "0.6.5"
|
||||
|
||||
Reference in New Issue
Block a user