mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
Make default connection use RDP for Sciter and Flutter desktop
This commit is contained in:
parent
98b04ecadc
commit
e77f15f0b8
3 changed files with 4 additions and 4 deletions
|
|
@ -2310,7 +2310,7 @@ bool handleUriLink({List<String>? cmdArgs, Uri? uri, String? uriString}) {
|
|||
switch (type) {
|
||||
case UriLinkType.remoteDesktop:
|
||||
Future.delayed(Duration.zero, () {
|
||||
rustDeskWinManager.newRemoteDesktop(id!,
|
||||
rustDeskWinManager.newPortForward(id!, true,
|
||||
password: password,
|
||||
switchUuid: switchUuid,
|
||||
forceRelay: forceRelay);
|
||||
|
|
@ -2540,7 +2540,7 @@ connect(BuildContext context, String id,
|
|||
bool isViewCamera = false,
|
||||
bool isTerminal = false,
|
||||
bool isTcpTunneling = false,
|
||||
bool isRDP = false,
|
||||
bool isRDP = true,
|
||||
bool forceRelay = false,
|
||||
String? password,
|
||||
String? connToken,
|
||||
|
|
|
|||
|
|
@ -1278,7 +1278,7 @@ pub fn session_add_existed(
|
|||
let conn_type = if is_view_camera {
|
||||
ConnType::VIEW_CAMERA
|
||||
} else {
|
||||
ConnType::DEFAULT_CONN
|
||||
ConnType::RDP
|
||||
};
|
||||
sessions::insert_peer_session_id(peer_id, conn_type, session_id, displays);
|
||||
Ok(())
|
||||
|
|
|
|||
|
|
@ -609,7 +609,7 @@ impl SciterSession {
|
|||
} else if cmd.eq("--rdp") {
|
||||
ConnType::RDP
|
||||
} else {
|
||||
ConnType::DEFAULT_CONN
|
||||
ConnType::RDP
|
||||
};
|
||||
|
||||
session
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue