mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
no duplidate trays
This commit is contained in:
@@ -160,7 +160,9 @@ pub fn core_main() -> Option<Vec<String>> {
|
||||
return None;
|
||||
}
|
||||
} else if args[0] == "--tray" {
|
||||
crate::tray::start_tray();
|
||||
if !crate::check_process("--tray", true) {
|
||||
crate::tray::start_tray();
|
||||
}
|
||||
return None;
|
||||
} else if args[0] == "--service" {
|
||||
log::info!("start --service");
|
||||
|
||||
Reference in New Issue
Block a user