Files
Ultroid-fork/resources/session/session.sh
xditya c4966f772a Initial Commit
Co-Authored-By: Aditya <me@xditya.me>
Co-Authored-By: Amit Sharma <48654350+buddhhu@users.noreply.github.com>
Co-Authored-By: hellboi_atul <68107352+hellboi-atul@users.noreply.github.com>
Co-Authored-By: Sρι∂у <68327188+sppidy@users.noreply.github.com>
Co-Authored-By: Anonymous <69723581+New-dev0@users.noreply.github.com>
Co-Authored-By: Danish <72792730+1Danish-00@users.noreply.github.com>
Co-Authored-By: Arnab Paryali <arnabxd@pm.me>
Co-Authored-By: Programming Error <75001577+programmingerror@users.noreply.github.com>
2021-02-22 06:19:43 +05:30

33 lines
1.0 KiB
Bash

# !/bin/bash
# Ultroid - UserBot
# Copyright (C) 2020 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
clear
python3 ssgen.py