my bad
This commit is contained in:
parent
214e4285be
commit
089078472f
@ -248,10 +248,6 @@ pub fn uninstall_service(show_new_window: bool) -> bool {
|
||||
.args(&["remove", &format!("{}_server", crate::get_full_name())])
|
||||
.status()
|
||||
.ok();
|
||||
std::process::Command::new("pkill")
|
||||
.arg(crate::get_app_name())
|
||||
.status()
|
||||
.ok();
|
||||
if show_new_window {
|
||||
std::process::Command::new("sh")
|
||||
.arg("-c")
|
||||
@ -262,6 +258,10 @@ pub fn uninstall_service(show_new_window: bool) -> bool {
|
||||
.spawn()
|
||||
.ok();
|
||||
}
|
||||
std::process::Command::new("pkill")
|
||||
.arg(crate::get_app_name())
|
||||
.status()
|
||||
.ok();
|
||||
quit_gui();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user