diff --git a/easytier/src/utils.rs b/easytier/src/utils.rs index 6735e7a..5c0a16a 100644 --- a/easytier/src/utils.rs +++ b/easytier/src/utils.rs @@ -170,7 +170,7 @@ impl Service { vec![OsString::from("dnscache"), OsString::from("rpcss")], )? ); - + #[cfg(not(target_os = "windows"))] let service_manager = ::native()?; @@ -180,7 +180,7 @@ impl Service { }) } - pub fn install(&self, bin_args: Vec) -> Result<(), std::io::Error> { + pub fn install(&self, bin_args: Vec) -> Result<(), std::io::Error> { let ctx = ServiceInstallCtx { label: self.lable.clone(), contents: None,