more flexible for --get-id

This commit is contained in:
rustdesk
2023-07-27 10:46:48 +08:00
parent 8f851bc781
commit 9967bb993f
3 changed files with 18 additions and 4 deletions

View File

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