This commit is contained in:
rustdesk
2024-04-09 19:02:02 +08:00
parent 0df4b39bcc
commit f34a8ef0e5
3 changed files with 3 additions and 3 deletions

View File

@@ -958,7 +958,7 @@ impl Connection {
}
#[cfg(not(any(target_os = "android", target_os = "ios")))]
if crate::is_server() && Config::get_option("allow-only-conn-window-open") == "Y" {
if crate::check_process("", false) {
if !crate::check_process("", false) {
self.send_login_error("The main window is not open").await;
return false;
}