代码拉取完成,页面将自动刷新
# Tool Name :- Tool-X
# Date :- 1/11/2017
if [ -e /usr/lib/sudo ];then
if [ -e /usr/bin/apt-get ];then
if [ ! -e /usr/bin/python3 ];then
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install python -y
sudo apt-get install python3 -y
fi
fi
else
if [ -d /usr/bin ];then
if [ -e /usr/bin/apt-get ];then
if [ ! -e /usr/bin/python3 ];then
apt-get update
apt -get upgrade -y
apt-get install python -y
apt-get install python3 -y
fi
fi
fi
fi
if [ -d /data/data/com.termux/files/usr/bin ]; then
if [ ! -e /data/data/com.termux/files/usr/bin/python3 ];then
pkg update
pkg upgrade -y
pkg install python -y
pkg install python3 -y
fi
fi
if [ -e /usr/lib/sudo ];then
if [ -e /usr/bin/yum ];then
if [ ! -e /usr/bin/python3 ];then
sudo yum update
sudo yum upgrade -y
sudo yum install python -y
sudo yum install python3 -y
fi
fi
else
if [ -d /usr/bin ];then
if [ -e /usr/bin/yum ];then
if [ ! -e /usr/bin/python3 ];then
yum update
yum upgrade -y
yum install python -y
yum install python3 -y
fi
fi
fi
fi
if [ -e /usr/local/bin/brew ];then
if [ ! -e /usr/local/bin/python3 ];then
brew install python -y
brew install python3 -y
fi
fi
if [ -e /usr/local/bin/brew ];then
if [ ! -e /usr/local/bin/python ];then
brew install python -y
brew install python3 -y
fi
fi
if [ -e /usr/bin/apk ];then
if [ ! -e /usr/bin/python ];then
apk install python -y
apk install python3 -y
fi
fi
if [ -e /usr/bin/apk ];then
if [ ! -e /usr/bin/python3 ];then
apk install python -y
apk install python3 -y
fi
fi
pip install -r requirements.txt
python3 install.py
exit
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。