Update Waku.sh

This commit is contained in:
sdohuajia 2024-07-27 21:13:42 +08:00 committed by GitHub
parent f1baa632df
commit e1b7f42363
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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