fix on linux

This commit is contained in:
rustdesk
2021-05-02 21:19:48 +08:00
parent 547b85adbf
commit 2adc774d8a
5 changed files with 46 additions and 5 deletions

View File

@@ -495,10 +495,15 @@ impl UI {
let p = "xdg-open";
allow_err!(std::process::Command::new(p).arg(url).spawn());
}
fn is_xfce(&self) -> bool {
crate::platform::is_xfce()
}
}
impl sciter::EventHandler for UI {
sciter::dispatch_script_call! {
fn is_xfce();
fn get_id();
fn get_password();
fn update_password(String);