rustdesk
2024-03-27 00:38:13 +08:00
parent 81aec8402b
commit 85f387bfb9
8 changed files with 20 additions and 13 deletions

View File

@@ -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 {