Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix(linux): Set AppIndicator ID for tray-icon (#15981)

Jade7c6e661fcc95
diff --git a/src/tray.rs b/src/tray.rs
index 0b7e38542..4ccc921bd 100644
--- a/src/tray.rs
+++ b/src/tray.rs
@@ -153,6 +153,7 @@ fn make_tray() -> hbb_common::ResultType<()> {
// We create the icon once the event loop is actually running
// to prevent issues like https://github.com/tauri-apps/tray-icon/issues/90
let mut builder = TrayIconBuilder::new()
+ .with_id(create::get_app_name().to_lowercase())
.with_menu(Box::new(tray_menu.clone()))
.with_tooltip(tooltip(0))
.with_icon(icon.clone());