RustDesk/flutter/lib/desktop
Julian 3aca4274b5 fix(linux): add service mode installation for non-Debian distros
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>
2026-05-01 07:00:37 +08:00
..
pages fix(linux): add service mode installation for non-Debian distros 2026-05-01 07:00:37 +08:00
screen terminal works basically. (#12189) 2025-07-01 13:12:55 +08:00
widgets feat(wayland): keyboard mode, legacy translate (#14317) 2026-02-15 16:43:21 +08:00