diff --git a/Cargo.lock b/Cargo.lock index d8c112fd6..22dfdc6f4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3091,6 +3091,7 @@ dependencies = [ "sha2", "sys-locale", "systray", + "tigervnc", "uuid", "whoami", "winapi 0.3.9", @@ -3603,6 +3604,15 @@ dependencies = [ "weezl", ] +[[package]] +name = "tigervnc" +version = "1.0.0" +source = "git+https://github.com/open-trade/tigervnc#2007dbb0f47ac72069a529182ce73c954ab70d38" +dependencies = [ + "cc", + "cfg-if 1.0.0", +] + [[package]] name = "time" version = "0.3.5" diff --git a/Cargo.toml b/Cargo.toml index d5029532f..69b3673ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,6 +54,7 @@ sciter-rs = { git = "https://github.com/open-trade/rust-sciter", branch = "dyn" ctrlc = "3.2" arboard = "2.0" clipboard-master = "3.1" +tigervnc = { git = "https://github.com/open-trade/tigervnc" } [target.'cfg(target_os = "windows")'.dependencies] systray = { git = "https://github.com/liyue201/systray-rs" } diff --git a/src/ui/ab.tis b/src/ui/ab.tis index 22dc17f3d..84cfcef4f 100644 --- a/src/ui/ab.tis +++ b/src/ui/ab.tis @@ -95,7 +95,7 @@ class SessionList: Reactor.Component { function render() { var sessions = this.getSessions(); if (sessions.length == 0) { - return