修复run.sh
Some checks failed
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
2026-02-26 22:23:51 +08:00
parent 9d78991c3a
commit 0c61036ab9

4
run.sh
View File

@@ -66,7 +66,8 @@ if [ ! -f "todos.json" ]; then
printf "${YELLOW}已创建初始数据文<EFBFBD><EFBFBD>?todos.json${NC}\n"
fi
# 检查包管理<E7AEA1><E79086>?if command -v pnpm >/dev/null 2>&1; then
# 检查包管理<E7AEA1><E79086>?
if command -v pnpm >/dev/null 2>&1; then
PM="pnpm"
else
PM="npm"
@@ -109,3 +110,4 @@ case "$1" in
;;
esac