add password to --connect command in flutter, --connect id [passord]

This commit is contained in:
rustdesk
2023-03-20 00:16:06 +08:00
parent 7009d4fa7b
commit 4d827708c3
7 changed files with 35 additions and 15 deletions

View File

@@ -43,12 +43,14 @@ class RustDeskMultiWindowManager {
Future<dynamic> newRemoteDesktop(
String remoteId, {
String? password,
String? switch_uuid,
bool? forceRelay,
}) async {
var params = {
"type": WindowType.RemoteDesktop.index,
"id": remoteId,
"password": password,
"forceRelay": forceRelay
};
if (switch_uuid != null) {