This commit is contained in:
rustdesk
2023-02-10 17:48:53 +08:00
parent 930faecb13
commit 7edb3e6e92
8 changed files with 17 additions and 23 deletions

View File

@@ -2,10 +2,9 @@
// Requires Rust 1.18.
//#![windows_subsystem = "windows"]
#[cfg(not(feature = "flutter"))]
use librustdesk::*;
#[cfg(any(target_os = "android", target_os = "ios"))]
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
fn main() {
if !common::global_init() {
return;
@@ -33,11 +32,6 @@ fn main() {
common::global_clean();
}
#[cfg(feature = "flutter")]
fn main() {
hbb_common::log::info!("Hello world!");
}
#[cfg(feature = "cli")]
fn main() {
if !common::global_init() {