move pkill tray to execstop of the service for linux

This commit is contained in:
rustdesk
2024-04-01 17:07:10 +08:00
Unverified
parent 26a7f9dd46
commit 57510980ed
7 changed files with 1 additions and 7 deletions

View File

@@ -43,6 +43,5 @@ pre_remove() {
post_remove() {
rm /usr/share/applications/rustdesk.desktop || true
rm /usr/share/applications/rustdesk-link.desktop || true
pkill -f "rustdesk --tray" || true
update-desktop-database
}