Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
fd49830c35
commit
b15d84359b
@ -593,7 +593,7 @@ closeConnection({String? id}) {
|
||||
}
|
||||
}
|
||||
|
||||
void windowOnTop(int? id) async {
|
||||
Future<void> windowOnTop(int? id) async {
|
||||
if (!isDesktop) {
|
||||
return;
|
||||
}
|
||||
@ -1834,10 +1834,10 @@ enum UriLinkType {
|
||||
// uri link handler
|
||||
bool handleUriLink({List<String>? cmdArgs, Uri? uri, String? uriString}) {
|
||||
List<String>? args;
|
||||
if (cmdArgs != null) {
|
||||
if (cmdArgs != null && cmdArgs.isNotEmpty) {
|
||||
args = cmdArgs;
|
||||
// rustdesk <uri link>
|
||||
if (args.isNotEmpty && args[0].startsWith(kUniLinksPrefix)) {
|
||||
if (args[0].startsWith(kUniLinksPrefix)) {
|
||||
final uri = Uri.tryParse(args[0]);
|
||||
if (uri != null) {
|
||||
args = urlLinkToCmdArgs(uri);
|
||||
|
Loading…
x
Reference in New Issue
Block a user