mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-10 06:21:28 +03:00
remove more "rustdesk" built-in
This commit is contained in:
@@ -91,14 +91,14 @@ pub fn make_tray() -> hbb_common::ResultType<()> {
|
||||
use std::process::Command;
|
||||
Command::new("cmd")
|
||||
.arg("/c")
|
||||
.arg("start rustdesk://")
|
||||
.arg(&format!("start {}", crate::get_uri_prefix()))
|
||||
.creation_flags(winapi::um::winbase::CREATE_NO_WINDOW)
|
||||
.spawn()
|
||||
.ok();
|
||||
}
|
||||
#[cfg(target_os = "linux")]
|
||||
if !std::process::Command::new("xdg-open")
|
||||
.arg("rustdesk://")
|
||||
.arg(&crate::get_uri_prefix())
|
||||
.spawn()
|
||||
.is_ok()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user