From 42b896054d42fc0c4f83a277659a85e191af0a7a Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Thu, 19 Aug 2021 00:08:21 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Revise=20misleading=20words?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 10 +++++----- utils/docker-config.sh | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index 9e56766..22f224b 100644 --- a/install.sh +++ b/install.sh @@ -257,10 +257,10 @@ configure() { config_file=config.yml echo "生成配置文件中 . . ." cp config.gen.yml config.yml - echo "api_key、api_hash 申请地址: https://my.telegram.org/" - printf "请输入应用程序 api_key:" - read -r api_key <&1 - sed -i "s/ID_HERE/$api_key/" $config_file + echo "api_id、api_hash 申请地址: https://my.telegram.org/" + printf "请输入应用程序 api_id:" + read -r api_id <&1 + sed -i "s/ID_HERE/$api_id/" $config_file printf "请输入应用程序 api_hash:" read -r api_hash <&1 sed -i "s/HASH_HERE/$api_hash/" $config_file @@ -369,7 +369,7 @@ login_screen() { sleep 1 if [ "$(ps -def | grep [p]agermaid | grep -v grep)" == "" ]; then - echo "PagerMaid 运行时发生错误,可能是因为发送验证码失败,请检查您的 API_KEY 和 API_HASH" + echo "PagerMaid 运行时发生错误,可能是因为发送验证码失败,请检查您的 API_ID 和 API_HASH" exit 1 fi diff --git a/utils/docker-config.sh b/utils/docker-config.sh index eef8a2a..8df49ad 100644 --- a/utils/docker-config.sh +++ b/utils/docker-config.sh @@ -13,10 +13,10 @@ configure () { echo "生成配置文件中 . . ." cp config.gen.yml $config_file - echo "api_key、api_hash 申请地址: https://my.telegram.org/" - printf "请输入应用程序 api_key:" - read -r api_key <&1 - sed -i "s/ID_HERE/$api_key/" $config_file + echo "api_id、api_hash 申请地址: https://my.telegram.org/" + printf "请输入应用程序 api_id:" + read -r api_id <&1 + sed -i "s/ID_HERE/$api_id/" $config_file printf "请输入应用程序 api_hash:" read -r api_hash <&1 sed -i "s/HASH_HERE/$api_hash/" $config_file