This commit is contained in:
parent
b32d643f8c
commit
759753c000
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user