mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
make start_server available in cli
This commit is contained in:
@@ -26,6 +26,7 @@ use std::{
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
#[cfg(not(feature = "cli"))]
|
||||
pub mod audio_service;
|
||||
cfg_if::cfg_if! {
|
||||
if #[cfg(not(any(target_os = "android", target_os = "ios")))] {
|
||||
@@ -53,8 +54,14 @@ mod connection;
|
||||
pub mod portable_service;
|
||||
mod service;
|
||||
mod video_qos;
|
||||
#[cfg(not(feature = "cli"))]
|
||||
pub mod video_service;
|
||||
|
||||
#[cfg(feature = "cli")]
|
||||
mod stub;
|
||||
#[cfg(feature = "cli")]
|
||||
pub use stub::*;
|
||||
|
||||
use hbb_common::tcp::new_listener;
|
||||
|
||||
pub type Childs = Arc<Mutex<Vec<std::process::Child>>>;
|
||||
|
||||
Reference in New Issue
Block a user