mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-19 03:01:29 +03:00
This commit is contained in:
@@ -1059,6 +1059,7 @@ sc start {app_name}
|
|||||||
sc stop {app_name}
|
sc stop {app_name}
|
||||||
sc delete {app_name}
|
sc delete {app_name}
|
||||||
{after_install}
|
{after_install}
|
||||||
|
{sleep}
|
||||||
",
|
",
|
||||||
uninstall_str=uninstall_str,
|
uninstall_str=uninstall_str,
|
||||||
path=path,
|
path=path,
|
||||||
@@ -1081,6 +1082,11 @@ sc delete {app_name}
|
|||||||
config_path=Config::file().to_str().unwrap_or(""),
|
config_path=Config::file().to_str().unwrap_or(""),
|
||||||
lic=register_licence(),
|
lic=register_licence(),
|
||||||
after_install=get_after_install(&exe),
|
after_install=get_after_install(&exe),
|
||||||
|
sleep=if debug {
|
||||||
|
"timeout 300"
|
||||||
|
} else {
|
||||||
|
""
|
||||||
|
}
|
||||||
);
|
);
|
||||||
run_cmds(cmds, debug, "install")?;
|
run_cmds(cmds, debug, "install")?;
|
||||||
std::thread::sleep(std::time::Duration::from_millis(2000));
|
std::thread::sleep(std::time::Duration::from_millis(2000));
|
||||||
|
|||||||
Reference in New Issue
Block a user