From d94def21d258d75c9a0c50e1f2b939510064c01f Mon Sep 17 00:00:00 2001 From: RustDesk <71636191+rustdesk@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:55:24 +0800 Subject: [PATCH] Updated About delegate of MacOS RustDesk (markdown) --- About-delegate-of-MacOS-RustDesk.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/About-delegate-of-MacOS-RustDesk.md b/About-delegate-of-MacOS-RustDesk.md index bdf0bb6..de16491 100644 --- a/About-delegate-of-MacOS-RustDesk.md +++ b/About-delegate-of-MacOS-RustDesk.md @@ -7,7 +7,7 @@ When `--server` receives the delegate, it will check if there is RustDesk window When `--server` is not running, the `openURL` delegate events will be sent to RustDesk window directly in two ways, -1. No window opened while receiving the url schema, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L138 -2. Window already open while receiving the url schema, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/common.dart#L1881, here is a [stupid bug fix](https://github.com/rustdesk/rustdesk/pull/7537/files) for this. +1. No window opened while receiving the url schema, [here](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L138) +2. Window already open while receiving the url schema, [here](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/common.dart#L1881), and this is a [stupid bug fix](https://github.com/rustdesk/rustdesk/pull/7537/files) for this. the `openURL` delegate listen is registered in uni_links_desktop, the url schema will be propogated to dart via uni_links_desktop. launchpad click delegate event listener is registered [here](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/macos/Runner/AppDelegate.swift#L15). \ No newline at end of file