Co-authored-by: New-dev0 <New-dev0@users.noreply.github.com> Co-authored-by: Aditya <me@xditya.me> Co-authored-by: Amit Sharma <48654350+buddhhu@users.noreply.github.com> Co-authored-by: sppidy <sppidy@users.noreply.github.com> Co-authored-by: Arnab Paryali <Arnabxd@users.noreply.github.com> Co-authored-by: divkix <divkix@users.noreply.github.com> Co-authored-by: hellboi_atul <hellboi-atul@users.noreply.github.com> Co-authored-by: Programming Error <error@notavailable.live>
33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
# Ultroid - UserBot
|
|
# Copyright (C) 2021 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 install telethon pyrogram
|
|
clear
|
|
python3 ssgen.py
|