res/users.py

This commit is contained in:
rustdesk
2024-08-07 23:26:03 +08:00
parent 76d5a8b205
commit 9a194f0850
3 changed files with 126 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ pub fn start_tray() {
allow_err!(make_tray());
}
pub fn make_tray() -> hbb_common::ResultType<()> {
fn make_tray() -> hbb_common::ResultType<()> {
// https://github.com/tauri-apps/tray-icon/blob/dev/examples/tao.rs
use hbb_common::anyhow::Context;
use tao::event_loop::{ControlFlow, EventLoopBuilder};