revert my stupid

This commit is contained in:
rustdesk 2023-07-27 10:51:27 +08:00
parent 9967bb993f
commit 0e1e8d2b16
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ pub fn core_main() -> Option<Vec<String>> {
} }
if args.len() > 0 && args[0] == "--version" { if args.len() > 0 && args[0] == "--version" {
// not use my_println here, because check super use using this command, no dialog expected // not use my_println here, because check super use using this command, no dialog expected
my_println!("{}", crate::VERSION); println!("{}", crate::VERSION);
return None; return None;
} }
#[cfg(windows)] #[cfg(windows)]

View File

@ -1,5 +1,5 @@
#![cfg_attr( #![cfg_attr(
all(target_os = "windows"), all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows" windows_subsystem = "windows"
)] )]