Initial standalone crypto_okx with one-click deploy.
Add deploy/manage.sh bootstrap for git.bz121.com/dekun/crypto_okx and point docs at this repo. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
# deploy/lib/doctor.sh — 仅检测环境/依赖,不安装
|
||||
set -e
|
||||
set -u
|
||||
if [ -n "${BASH_VERSION:-}" ]; then
|
||||
set -o pipefail
|
||||
fi
|
||||
|
||||
LIB_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
# shellcheck source=common.sh
|
||||
source "${LIB_DIR}/common.sh"
|
||||
|
||||
main_doctor() {
|
||||
if root="$(resolve_repo_root 2>/dev/null)"; then
|
||||
REPO_ROOT="${root}"
|
||||
fi
|
||||
doctor_report
|
||||
echo ""
|
||||
log "检测完成(未修改系统).需要安装请返回菜单选 1."
|
||||
}
|
||||
|
||||
main_doctor "$@"
|
||||
Reference in New Issue
Block a user