vietc/packaging/deb/DEBIAN/prerm
vndangkhoa 16a0d73a6e Viet+ v0.1.0 - Vietnamese Input Method for Linux
Features:
- Direct Input Engine (no pre-edit buffer, no underline)
- Telex + VNI input methods
- Auto-restore English words
- ESC undo (strip tones)
- Smart per-app memory
- Macro expansion (ko→không, dc→được, vs→với, lm→làm)
- Triple backend: uinput, X11 XTEST, Wayland IM
- Hot-reload config
- 148 tests passing

Packaging:
- .deb package
- AppImage support
- AUR PKGBUILD
- Flatpak manifest
- Systemd user service
2026-06-24 10:13:10 +07:00

15 lines
405 B
Bash

#!/bin/bash
set -e
# Stop and disable systemd user service
if systemctl --user is-active vietc.service 2>/dev/null; then
systemctl --user stop vietc.service 2>/dev/null || true
fi
if systemctl --user is-enabled vietc.service 2>/dev/null; then
systemctl --user disable vietc.service 2>/dev/null || true
fi
# Kill any running vietc
pkill -x vietc 2>/dev/null || true
echo "Viet+ daemon stopped."