jtc-overlay/net-im/telegram-desktop-bin/files/telegram-desktop-bin
2022-08-30 15:46:53 -04:00

10 lines
379 B
Bash

#!/bin/sh
# this wrapper disables the auto-updater of telegram-desktop
# This program is licensed under the same license as telegram-desktop
# telegram-desktop fails to set RestartCommand with the session manager
# exclude it from session management to prevent restarts without the argument
unset SESSION_MANAGER
exec /usr/lib/telegram-desktop-bin/Telegram -externalupdater $@