disable systray which has compatibility issue
This commit is contained in:
parent
49dff161dd
commit
935676468b
3 changed files with 331 additions and 580 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue