Update ore.sh

This commit is contained in:
smeb y 2024-04-05 18:22:12 +08:00 committed by GitHub
parent 461115eeee
commit 1c8c041178
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
ore.sh
View File

@ -162,7 +162,7 @@ function check_and_install_dependencies() {
fi
# 检查是否已安装 Ore CLI
if ! cargo install ore-cli --version | grep ore-cli &> /dev/null; then
if ! ore -V &> /dev/null; then
echo "Ore CLI 未安装,正在安装..."
cargo install ore-cli
else