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());