mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-15 20:21:27 +03:00
Updated About delegate of MacOS RustDesk (markdown)
@@ -7,7 +7,7 @@ When `--server` receives the delegate, it will check if there is RustDesk window
|
|||||||
|
|
||||||
When `--server` is not running, the delegate events will be sent to RustDesk window directly in two ways,
|
When `--server` is not running, the delegate events will be sent to RustDesk window directly in two ways,
|
||||||
|
|
||||||
1. first time start, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L138
|
1. No window opened while receiving the url schema, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L138
|
||||||
2. already started, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/common.dart#L1881
|
2. Window already open while receiving the url schema, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/common.dart#L1881
|
||||||
|
|
||||||
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).
|
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).
|
||||||
Reference in New Issue
Block a user