From 0c61036ab97537333f2c430ca4e53b46e2e8a8d8 Mon Sep 17 00:00:00 2001 From: "Mr.Xia" <1424473282@qq.com> Date: Thu, 26 Feb 2026 22:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Drun.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index a46fcd7..448fb11 100644 --- a/run.sh +++ b/run.sh @@ -66,7 +66,8 @@ if [ ! -f "todos.json" ]; then printf "${YELLOW}已创建初始数据文?todos.json${NC}\n" fi -# 检查包管理?if command -v pnpm >/dev/null 2>&1; then +# 检查包管理? +if command -v pnpm >/dev/null 2>&1; then PM="pnpm" else PM="npm" @@ -109,3 +110,4 @@ case "$1" in ;; esac +