refactor tray uninstall service

This commit is contained in:
rustdesk committed 2023-06-09 22:02:25 +08:00
1 parent 1ad5d0b726
commit 644da37a4f
5 files changed
+6 -7

No files matched your search

+1 -1
View File
@@ -182,7 +182,7 @@ pub fn is_installed_daemon(prompt: bool) -> bool {
false
}
pub fn uninstall(show_new_window: bool) -> bool {
pub fn uninstall_service(show_new_window: bool) -> bool {
// to-do: do together with win/linux about refactory start/stop service
if !is_installed_daemon(false) {
return false;