Co-authored-by: Aditya <xditya@ultroid.tech> Co-authored-by: Danish <danish@ultroid.tech> Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: TechiError <error@notavailable.live> Co-authored-by: Avish Kumar <85635883+aviskumar@users.noreply.github.com> Co-authored-by: Vɪɴᴀʏᴀᴋ Pᴀɴᴅᴇʏ <87496159+harpia-vieillot@users.noreply.github.com> Co-authored-by: Shrimadhav U K <6317196+spechide@users.noreply.github.com> Co-authored-by: Dark <darkbeamer.official@gmail.com> Co-authored-by: Muhamad Risman Aziz <62795826+mrismanaziz@users.noreply.github.com> Co-authored-by: Ashik Muhammed <84127769+MR-JINN-OF-TG@users.noreply.github.com> Co-authored-by: MMETMA <79155572+MMETMA@users.noreply.github.com> Co-authored-by: amirmehdinzri <94852182+amirmehdinzri@users.noreply.github.com>
33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
#!/usr/bin/env bash
|
|
# Ultroid - UserBot
|
|
# Copyright (C) 2021-2022 TeamUltroid
|
|
#
|
|
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
|
|
# PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
|
|
|
|
clear
|
|
echo -e "\e[1m"
|
|
echo " _ _ _ _ _ _ "
|
|
echo " | | | | | | (_) | |"
|
|
echo " | | | | | |_ _ __ ___ _ __| |"
|
|
echo " | | | | | __| '__/ _ \| |/ _ |"
|
|
echo " | |__| | | |_| | | (_) | | (_| |"
|
|
echo " \____/|_|\__|_| \___/|_|\__,_|"
|
|
echo -e "\e[0m"
|
|
sec=5
|
|
spinner=(⣻ ⢿ ⡿ ⣟ ⣯ ⣷)
|
|
while [ $sec -gt 0 ]; do
|
|
echo -ne "\e[33m ${spinner[sec]} Starting dependency installation in $sec seconds...\r"
|
|
sleep 1
|
|
sec=$(($sec - 1))
|
|
done
|
|
echo -e "\e[1;32mInstalling Dependencies ---------------------------\e[0m\n" # Don't Remove Dashes / Fix it
|
|
apt-get update
|
|
apt-get upgrade -y
|
|
pkg upgrade -y
|
|
pkg install python wget -y
|
|
wget https://raw.githubusercontent.com/TeamUltroid/ultroid/main/resources/session/ssgen.py
|
|
pip uninstall telethon -y && install telethon
|
|
clear
|
|
python3 ssgen.py
|