fix dependence

This commit is contained in:
liyue
2021-12-28 14:18:37 +08:00
parent da629ec42c
commit f1444049bf
3 changed files with 261 additions and 3 deletions

View File

@@ -145,7 +145,6 @@ 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();
@@ -184,7 +183,7 @@ fn start_tray() -> hbb_common::ResultType<()> {
Ok::<_, systray::Error>(())
})?;
allow_err!(app.wait_for_message());
*/
Ok(())
}