Updated About delegate of MacOS RustDesk (markdown)

RustDesk
2024-03-27 15:56:20 +08:00
parent 4fb5144b47
commit 193aafd3e6

@@ -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, [here].(https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L138)
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 we have 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).