Merge pull request #2873 from Kingtous/master

opt: prevent duplicate window instance on windows
This commit is contained in:
RustDesk
2023-01-21 07:57:47 +08:00
committed by GitHub
4 changed files with 12 additions and 10 deletions

View File

@@ -322,7 +322,7 @@ fn core_main_invoke_new_connection(mut args: std::env::Args) -> Option<Vec<Strin
"RustDesk",
(WM_USER + 2) as _, // referred from unilinks desktop pub
uni_links.as_str(),
true,
false,
);
return if res { None } else { Some(Vec::new()) };
}