mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 17:28:08 +00:00
更新安装脚本,添加 AsterDex API 创建链接提示,提升用户输入体验。
This commit is contained in:
@@ -107,6 +107,8 @@ install_deps() {
|
|||||||
prompt_env() {
|
prompt_env() {
|
||||||
echo
|
echo
|
||||||
echo "请输入 AsterDex API 凭证。"
|
echo "请输入 AsterDex API 凭证。"
|
||||||
|
echo "如果你还没有 API,请打开以下链接创建后再继续:"
|
||||||
|
echo "https://www.asterdex.com/zh-CN/api-management"
|
||||||
while true; do
|
while true; do
|
||||||
read -r -p "请输入 ASTER_API_KEY: " ASTER_API_KEY < /dev/tty
|
read -r -p "请输入 ASTER_API_KEY: " ASTER_API_KEY < /dev/tty
|
||||||
[ -n "${ASTER_API_KEY:-}" ] && break
|
[ -n "${ASTER_API_KEY:-}" ] && break
|
||||||
|
|||||||
Reference in New Issue
Block a user