From a5388f5127bec6fb042b97335cdb42bf9c0c1f08 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Tue, 11 Apr 2023 23:47:43 +0800 Subject: [PATCH] telegram from official website --- install/telegram | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install/telegram diff --git a/install/telegram b/install/telegram new file mode 100755 index 0000000..7437d18 --- /dev/null +++ b/install/telegram @@ -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