mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-01 15:25:29 +00:00
remove lic check
This commit is contained in:
parent
af2b0e050b
commit
df2e4bb411
@ -29,10 +29,6 @@ fn main() -> ResultType<()> {
|
||||
section.iter().for_each(|(k, v)| std::env::set_var(k, v));
|
||||
}
|
||||
}
|
||||
#[cfg(not(debug_assertions))]
|
||||
if !lic::check_lic(matches.value_of("email").unwrap_or(""), version::VERSION) {
|
||||
return Ok(());
|
||||
}
|
||||
start(
|
||||
matches.value_of("port").unwrap_or(&RELAY_PORT.to_string()),
|
||||
matches.value_of("key").unwrap_or(""),
|
||||
|
@ -92,10 +92,6 @@ impl RendezvousServer {
|
||||
let addr2 = format!("0.0.0.0:{}", port - 1);
|
||||
let addr3 = format!("0.0.0.0:{}", port + 2);
|
||||
let pm = PeerMap::new().await?;
|
||||
#[cfg(not(debug_assertions))]
|
||||
if !crate::lic::check_lic(&get_arg("email"), crate::version::VERSION) {
|
||||
return Ok(());
|
||||
}
|
||||
log::info!("serial={}", serial);
|
||||
let rendezvous_servers = get_servers(&get_arg("rendezvous-servers"), "rendezvous-servers");
|
||||
log::info!("Listening on tcp/udp {}", addr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user