Fixed tray icon on linux

This commit is contained in:
Alexandr Bogomiakov
2025-07-24 04:04:15 +03:00
parent 3cc326e8dc
commit f4eb46afce
3 changed files with 33 additions and 4 deletions

View File

@@ -46,11 +46,15 @@ winit = { version = "0.30", optional = true }
env_logger = "0.11"
urlencoding = "2.1"
# Linux-specific dependencies for GTK tray support
[target.'cfg(target_os = "linux")'.dependencies]
gtk = { version = "0.18", optional = true }
[features]
default = ["server", "web", "gui"]
cli = ["server", "web"]
desktop = ["gui"]
gui = ["tray-icon", "eframe", "egui", "winit", "notify", "notify-debouncer-mini"]
gui = ["tray-icon", "eframe", "egui", "winit", "notify", "notify-debouncer-mini", "gtk"]
server = []
web = []