Update Quili.sh

This commit is contained in:
smeb y 2024-06-04 09:59:41 +08:00 committed by GitHub
parent a16a118ff3
commit 9987d7fe69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -94,8 +94,7 @@ fi
git clone https://github.com/a3165458/ceremonyclient.git git clone https://github.com/a3165458/ceremonyclient.git
# 进入ceremonyclient/node目录 # 进入ceremonyclient/node目录
cd $HOME cd ~/ceremonyclient/node
cd ceremonyclient/node
git switch release git switch release
# 赋予执行权限 # 赋予执行权限
@ -157,8 +156,7 @@ fi
git clone https://github.com/a3165458/ceremonyclient.git git clone https://github.com/a3165458/ceremonyclient.git
# 进入 ceremonyclient/node 目录 # 进入 ceremonyclient/node 目录
cd $HOME cd ~/ceremonyclient/node
cd ceremonyclient/node
git switch release git switch release
# 赋予执行权限 # 赋予执行权限
@ -209,7 +207,7 @@ echo "=======================备份完成请执行cd ~/backup 查看备份文
} }
function check_balance() { function check_balance() {
cd ceremonyclient/client cd ~/ceremonyclient/node
GOEXPERIMENT=arenas go build -o qclient main.go GOEXPERIMENT=arenas go build -o qclient main.go
sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin sudo cp $HOME/ceremonyclient/client/qclient /usr/local/bin
@ -218,7 +216,7 @@ qclient token balance
} }
function unlock_performance() { function unlock_performance() {
cd ceremonyclient/node cd ~/ceremonyclient/node
git switch release-non-datacenter git switch release-non-datacenter
# 赋予执行权限 # 赋予执行权限