On Arch Linux and other non-Debian distros, the systemd service could not be installed because: is_installed_daemon() returned true unconditionally on Linux, no install card was shown in the Flutter UI, and install_service() assumed the unit file was already in systemd's search path. Add is_installed_daemon() for Linux that checks /etc/systemd/system/ and /usr/lib/systemd/system/ for the unit file, and can install it via GTK sudo dialog when prompted. Show an install card on the home page (matching macOS behavior) when the daemon is not installed. Update install_service() and uninstall_service() to handle unit file copy/removal. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common | ||
| desktop | ||
| mobile | ||
| models | ||
| native | ||
| plugin | ||
| utils | ||
| web | ||
| common.dart | ||
| consts.dart | ||
| main.dart | ||