1 Star 1 Fork 621

nygula / tale

forked from 魔王不造反 / tale 
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
install.sh 659 Bytes
Copy Edit Web IDE Raw Blame History
魔王不造反 authored 2018-10-07 15:53 . :art: improve install script
#!/bin/sh
APP_NAME="tale"
get_latest_release() {
curl --silent "https://api.github.com/repos/$1/releases/latest" | # Get latest release from GitHub api
grep '"tag_name":' | # Get tag line
sed -E 's/.*"([^"]+)".*/\1/' # Pluck JSON value
}
TAG_VERSION=$(get_latest_release "otale/tale")
wget -N --no-check-certificate https://github.com/otale/tale/releases/download/$TAG_VERSION/tale.tar.gz
echo '下载完毕'
mkdir $APP_NAME
tar -zxvf $APP_NAME.tar.gz -C $APP_NAME && cd $APP_NAME
chmod +x tool
echo '安装成功,请进入 tale 目录执行 sh tool start 启动'
Java
1
https://gitee.com/nygula/tale.git
git@gitee.com:nygula/tale.git
nygula
tale
tale
master

Search

101046 36f486cf 1899542 101055 4cb66026 1899542