telegram from official website

This commit is contained in:
Anthony Axenov 2023-04-11 23:47:43 +08:00
parent 3339928940
commit a5388f5127
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC

13
install/telegram Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
##makedesc: Install telegram (latest)
echo
echo "==============================================="
echo "Installing telegram (latest)..."
echo "==============================================="
echo
mkdir -p "${HOME}/install" "${HOME}/.local/bin"
wget "https://telegram.org/dl/desktop/linux" -O ${HOME}/install/telegram.tar.gz && \
tar -xJf ${HOME}/install/telegram.tar.gz -C ${HOME}/.local/bin
${HOME}/.local/bin/Telegram/Telegram & disown > /dev/null