macos tray

This commit is contained in:
rustdesk
2022-11-18 18:36:25 +08:00
parent 4a8578ee85
commit 03ae220f71
4 changed files with 36 additions and 34 deletions

View File

@@ -63,12 +63,7 @@ fn check_connect_status(
pub fn start(args: &mut [String]) {
#[cfg(target_os = "macos")]
if args.len() == 1 && args[0] == "--server" {
macos::make_tray();
return;
} else {
macos::show_dock();
}
macos::show_dock();
#[cfg(all(target_os = "linux", feature = "inline"))]
{
#[cfg(feature = "appimage")]