Update install.sh

pull/632/head
Mr Chen 5 months ago
parent 725572745b
commit 51a9b551fd
  1. 11
      plugins/xui/install.sh

@ -14,16 +14,23 @@ sysName=`uname`
# cd /www/server/mdserver-web && python3 plugins/mtproxy/index.py url
# cd /www/server/mdserver-web/plugins/xui && /bin/bash install.sh install 1.0
VERSION=$2
Install_app()
{
mkdir -p $serverPath/source
mkdir -p $serverPath/source/xui
mkdir -p $serverPath/xui
echo "$VERSION" > $serverPath/xui/version.pl
echo "curPath:$curPath"
echo "serverPath:$serverPath"
echo '安装完成'
}
Uninstall_app()
{
rm -rf $serverPath/xui
echo '卸载完成'
}

Loading…
Cancel
Save