mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
update bollgrid installer
This commit is contained in:
parent
0c2f5443d8
commit
fdbef13355
|
@ -1,12 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
osf=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
version=v1.13.0
|
version=v1.13.0
|
||||||
dist_file=bbgo-$version-$osf-amd64.tar.gz
|
dist_file=bbgo-$version-$osf-amd64.tar.gz
|
||||||
|
|
||||||
echo "downloading..."
|
echo "downloading..."
|
||||||
curl -L https://github.com/c9s/bbgo/releases/download/$version/$dist_file
|
curl -O -L https://github.com/c9s/bbgo/releases/download/$version/$dist_file
|
||||||
tar xzf $dist_file
|
tar xzf $dist_file
|
||||||
mv bbgo-darwin bbgo
|
mv bbgo-$osf bbgo
|
||||||
chmod +x bbgo
|
chmod +x bbgo
|
||||||
echo "downloaded"
|
echo "downloaded"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user