Update mtproxy.sh

首次运行增加编译安装
This commit is contained in:
chauncey 2020-02-02 20:49:55 +08:00 committed by GitHub
parent 4f2117c6c5
commit f95bf68b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,6 +73,7 @@ install(){
cd MTProxy
make && cd objs/bin
cp -f $WORKDIR/MTProxy/objs/bin/mtproto-proxy $WORKDIR
cd $WORKDIR
}
@ -234,6 +235,7 @@ else
if [ ! -f "$WORKDIR/mtp_config" ];then
echo "MTProxyTLS一键安装运行绿色脚本"
echo "================================="
install
config_mtp
run_mtp
else