mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
The /usr/bin wrapper only stops the shadow .desktop/.service self-install when Telegram is actually launched through it. A stale GNOME Shell app-grid entry (or anything else invoking /opt/telegram-desktop/Telegram directly) still bypasses it and lets InstallLauncher() recreate the shadow files, which was still reproducing after the previous fix. Ship a systemd environment.d drop-in setting DESKTOPINTEGRATION=1 for the whole graphical session, so the guard applies regardless of which launcher or cached desktop entry starts the binary. Requires a full logout/login (or reboot) to take effect, same as the desktop-shell cache refresh this bug already needs on Wayland.