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

@@ -21,7 +21,7 @@ fn main() -> ResultType<()> {
.about("RustDesk Relay Server")
.args_from_usage(&args)
.get_matches();
if !lic::check_lic(matches.value_of("email").unwrap_or("")) {
if !lic::check_lic(matches.value_of("email").unwrap_or(""), hbbs::VERSION) {
return Ok(());
}
let stop: Arc<Mutex<bool>> = Default::default();