|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
|
|
|
|
|
|
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" |
|
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 |
|
|