This commit is contained in:
rustdesk 2023-07-14 19:03:34 +08:00
parent 7a2e151079
commit 5875cb1896

View File

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