Merge pull request #3719 from chiehw/win-linux

translate mode: support linux in server
This commit is contained in:
RustDesk
2023-03-20 15:55:24 +08:00
committed by GitHub
10 changed files with 167 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
use crate::platform::breakdown_callback;
use hbb_common::log;
#[cfg(not(any(target_os = "android", target_os = "ios")))]
use hbb_common::platform::register_breakdown_handler;
@@ -38,7 +39,7 @@ pub fn core_main() -> Option<Vec<String>> {
i += 1;
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
register_breakdown_handler();
register_breakdown_handler(breakdown_callback);
#[cfg(target_os = "linux")]
#[cfg(feature = "flutter")]
{