This commit is contained in:
rustdesk
2026-08-27 11:47:36 +08:00
parent 7220f00410
commit e9b81e3475

View File

@@ -153,7 +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_id(crate::get_app_name().to_lowercase())
.with_menu(Box::new(tray_menu.clone()))
.with_tooltip(tooltip(0))
.with_icon(icon.clone());