mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-03 19:39:20 +08:00
Updated About delegate of MacOS RustDesk (markdown)
parent
20fcf152b4
commit
8bbfc9664d
@ -5,7 +5,7 @@ When `--server` receives the delegate, it will check if there is RustDesk window
|
|||||||
- If there is, `--server` will send url schema via [ipc](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/models/model.dart#L327).
|
- If there is, `--server` will send url schema via [ipc](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/models/model.dart#L327).
|
||||||
- If there is not, `--server` will run command `rustdesk <url-schema>`, url schema will be sent to main.dart directly via [args](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L41).
|
- If there is not, `--server` will run command `rustdesk <url-schema>`, url schema will be sent to main.dart directly via [args](https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/main.dart#L41).
|
||||||
|
|
||||||
When `--server` is not running, the delegate events will be sent to RustDesk window directly in two ways,
|
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
|
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
|
2. Window already open while receiving the url schema, https://github.com/rustdesk/rustdesk/blob/6e689400b69f0276a68e9eff531737c25b09c64e/flutter/lib/common.dart#L1881
|
||||||
|
Loading…
Reference in New Issue
Block a user