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

@ -210,7 +210,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0920;
LastUpgradeCheck = 1430;
LastUpgradeCheck = 1510;
ORGANIZATIONNAME = "";
TargetAttributes = {
33CC10EC2044A3C60003C045 = {

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1430"
LastUpgradeVersion = "1510"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"

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;
}