Update Waku.sh

This commit is contained in:
sdohuajia 2024-07-27 17:25:17 +08:00 committed by GitHub
parent 2d6f0158b7
commit a1b731f93b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ function install_node() {
# 安装Waku
echo "正在安装 Waku ..."
git clone https://github.com/waku-org/nwaku-compose
cd nwaku-compose || exit
cd nwaku-compose || { echo "切换目录失败,请检查目录结构和权限。"; exit 1; }
cp .env.example .env
echo "请编辑 .env 文件并填写所需的信息:"
@ -119,7 +119,7 @@ function fix_errors() {
function edit_env_file() {
clear
echo "正在编辑 .env 文件 ..."
cd nwaku-compose || exit
cd nwaku-compose || { echo "切换目录失败,请检查目录结构和权限。"; exit 1; }
nano .env
read -rp "按 Enter 返回菜单。"
}