mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 23:19:59 +00:00
add password to --connect command in flutter, --connect id [passord]
This commit is contained in:
1 parent
7009d4fa7b
commit
4d827708c3
7 files changed
+35
-15
No files matched your search
@@ -87,6 +87,7 @@ pub fn session_add_sync(
|
||||
is_port_forward: bool,
|
||||
switch_uuid: String,
|
||||
force_relay: bool,
|
||||
password: String,
|
||||
) -> SyncReturn<String> {
|
||||
if let Err(e) = session_add(
|
||||
&id,
|
||||
@@ -94,6 +95,7 @@ pub fn session_add_sync(
|
||||
is_port_forward,
|
||||
&switch_uuid,
|
||||
force_relay,
|
||||
password,
|
||||
) {
|
||||
SyncReturn(format!("Failed to add session with id {}, {}", &id, e))
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user