mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-07 20:41:28 +03:00
remove more "rustdesk" built-in
This commit is contained in:
@@ -2408,11 +2408,12 @@ sc start {app_name}
|
||||
|
||||
fn run_after_run_cmds(silent: bool) {
|
||||
let (_, _, _, exe) = get_install_info();
|
||||
let app = crate::get_app_name().to_lowercase();
|
||||
if !silent {
|
||||
log::debug!("Spawn new window");
|
||||
allow_err!(std::process::Command::new("cmd")
|
||||
.arg("/c")
|
||||
.arg("timeout /t 2 & start rustdesk://")
|
||||
.arg("timeout /t 2 & start {app}://")
|
||||
.creation_flags(winapi::um::winbase::CREATE_NO_WINDOW)
|
||||
.spawn());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user