Update install_dev.sh

This commit is contained in:
xcsoft 2022-06-23 16:04:08 +08:00 committed by GitHub
parent 8e0d809c5e
commit 9941c9a070
1 changed files with 3 additions and 2 deletions

View File

@ -73,10 +73,11 @@ if [ $OSNAME != "macos" ];then
fi
echo "use system version: ${OSNAME}"
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install/${OSNAME}.sh | bash
chmod +x /www/server/mdserver-web/mw-cli
ln -s /www/server/mdserver-web/mw-cli /usr/bin/mw-cli
endTime=`date +%s`
((outTime=(${endTime}-${startTime})/60))
echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"
echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"