abhay2245 commited on
Commit
cee1b97
Β·
verified Β·
1 Parent(s): 4c77971

Create session/session.sh

Browse files
Files changed (1) hide show
  1. resources/session/session.sh +32 -0
resources/session/session.sh ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ # Ultroid - UserBot
3
+ # Copyright (C) 2021-2025 TeamUltroid
4
+ #
5
+ # This file is a part of < https://github.com/TeamUltroid/Ultroid/ >
6
+ # PLease read the GNU Affero General Public License in <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>.
7
+
8
+ clear
9
+ echo -e "\e[1m"
10
+ echo " _ _ _ _ _ _ "
11
+ echo " | | | | | | (_) | |"
12
+ echo " | | | | | |_ _ __ ___ _ __| |"
13
+ echo " | | | | | __| '__/ _ \| |/ _ |"
14
+ echo " | |__| | | |_| | | (_) | | (_| |"
15
+ echo " \____/|_|\__|_| \___/|_|\__,_|"
16
+ echo -e "\e[0m"
17
+ sec=5
18
+ spinner=(⣻ Ⓙ ⑿ ⣟ ⣯ ⣷)
19
+ while [ $sec -gt 0 ]; do
20
+ echo -ne "\e[33m ${spinner[sec]} Starting dependency installation in $sec seconds...\r"
21
+ sleep 1
22
+ sec=$(($sec - 1))
23
+ done
24
+ echo -e "\e[1;32mInstalling Dependencies ---------------------------\e[0m\n" # Don't Remove Dashes / Fix it
25
+ apt-get update
26
+ apt-get upgrade -y
27
+ pkg upgrade -y
28
+ pkg install python wget -y
29
+ wget https://raw.githubusercontent.com/TeamUltroid/ultroid/main/resources/session/ssgen.py
30
+ pip uninstall telethon -y && install telethon
31
+ clear
32
+ python3 ssgen.py