From 7c2d62237fb3c5e9ce6dd1175eb724c85361af93 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Wed, 1 Jan 2025 23:11:38 +0800 Subject: [PATCH] missed file --- src/service.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/service.rs diff --git a/src/service.rs b/src/service.rs new file mode 100644 index 000000000000..ce1855bdb8bf --- /dev/null +++ b/src/service.rs @@ -0,0 +1,11 @@ +use librustdesk::*; + +#[cfg(not(target_os = "macos"))] +fn main() {} + +#[cfg(target_os = "macos")] +fn main() { + crate::common::load_custom_client(); + hbb_common::init_log(false, "service"); + crate::start_os_service(); +}