working on new version

This commit is contained in:
rustdesk
2021-04-17 16:12:34 +08:00
parent 6482934949
commit d87d761ab6
3 changed files with 17 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ fn main() -> ResultType<()> {
}
return default.to_owned();
};
if !lic::check_lic(&get_arg("email", "")) {
if !lic::check_lic(&get_arg("email", ""), crate::VERSION) {
return Ok(());
}
let port = get_arg("port", DEFAULT_PORT);