Note: Please use the aur package instead: telegram-desktop-udf-patched
Various patches for Telegram desktop
(I should probably make this into a PKGBUILD but ¯\_(ツ)_/¯)
These instructions are for Arch Linux, if you use some other distro, reevaluate your life choices.
- Clone this PKGBUILD: https://aur.archlinux.org/packages/telegram-desktop-dev/
- Clone this repo into the same place you cloned the PKGBUILD (or anywhere, really)
makepkg --nobuild
to fetch the sources
Apply the patches:
cd src/tdesktop
git apply /path/to/patch.patch
for each patch that you wantcd ../..
Build Telegram Desktop with makepkg --noextract
Install Telegram with sudo pacman -U telegram-desktop-dev-*.pkg.tar.xz