-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlaunch.sh
More file actions
42 lines (38 loc) · 1.07 KB
/
launch.sh
File metadata and controls
42 lines (38 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ver="1.0"
if [ "$1" = "python" ]; then
sudo apt-get install python-pip
sudo pip install pyTelegramBotAPI
sudo pip install redis
sudo pip install telebot
sudo pip install logging
sudo pip install arrow
sudo pip install py==1.4.29
sudo pip install pytest==2.7.2
sudo pip install requests==2.5.1
sudo pip install six==1.9.0
sudo pip install wheel==0.24.0
sudo apt-get install python2.7
sudo apt-get install urllib
sudo apt-get install redis-server
sudo service start redis-server
elif [ "$1" = "lua" ]; then
echo "Is not avaliable"
elif [ "$1" = "Update" ]; then
git pull
echo -e "\033[01;31m Update Completed \033[0m"
else
echo -e "
\033[01;31m Launcher Enabled \033[0m
\033[01;33mWritten By\033[0m \033[01;34m@Pokr_Face \033[0m
\033[01;30m $ver \033[0m"
while true; do
screen python2.7 bot.py # #
#screen python3.4 bot.py # #
#screen php bot.php # Choice what you want... #
#screen lua bot.lua # Or Write it! #
#screen ./launch.sh # #
# # #
sleep 0.5
done
fi
# Tnx To ThisIsAmir