disable systray which has compatibility issue

This commit is contained in:
rustdesk
2021-07-31 03:51:10 +08:00
parent 49dff161dd
commit 935676468b
3 changed files with 331 additions and 580 deletions

View File

@@ -141,6 +141,7 @@ pub fn start(args: &mut [String]) {
#[cfg(windows)]
fn start_tray() -> hbb_common::ResultType<()> {
/*
let mut app = systray::Application::new()?;
let icon = include_bytes!("./tray-icon.ico");
app.set_icon_from_buffer(icon, 32, 32).unwrap();
@@ -179,6 +180,7 @@ fn start_tray() -> hbb_common::ResultType<()> {
Ok::<_, systray::Error>(())
})?;
allow_err!(app.wait_for_message());
*/
Ok(())
}