Merge pull request #3023 from sj6219/lambda

tray bug fix
This commit is contained in:
RustDesk 2023-02-01 14:25:56 +08:00 committed by GitHub
commit 45493c202d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ pub fn core_main() -> Option<Vec<String>> {
{
std::thread::spawn(move || crate::start_server(true));
crate::platform::macos::hide_dock();
crate::tray::make_tray();
crate::ui::macos::make_tray();
return None;
}
#[cfg(target_os = "linux")]

View File

@ -21,7 +21,7 @@ mod cm;
#[cfg(feature = "inline")]
pub mod inline;
#[cfg(target_os = "macos")]
mod macos;
pub mod macos;
pub mod remote;
#[cfg(target_os = "windows")]
pub mod win_privacy;