This commit is contained in:
parent
81aec8402b
commit
85f387bfb9
8 changed files with 20 additions and 13 deletions
|
|
@ -348,7 +348,7 @@ pub fn set_option(key: String, value: String) {
|
|||
#[cfg(target_os = "macos")]
|
||||
{
|
||||
let is_stop = value == "Y";
|
||||
if is_stop && crate::platform::macos::uninstall_service(true) {
|
||||
if is_stop && crate::platform::uninstall_service(true, false) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
@ -356,7 +356,7 @@ pub fn set_option(key: String, value: String) {
|
|||
{
|
||||
if crate::platform::is_installed() {
|
||||
if value == "Y" {
|
||||
if crate::platform::uninstall_service(true) {
|
||||
if crate::platform::uninstall_service(true, false) {
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue