fix(linux): return when the startup dialog cannot initialize GTK

This commit is contained in:
Tunglies
2026-12-02 03:06:52 +08:00
parent 141cbd6a03
commit 3d91c12fb7
3 changed files with 28 additions and 1 deletions
+4 -1
View File
@@ -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"