本地保存周转金日结演示,按实际用料归还成本,暂不推送

This commit is contained in:
summer committed 2026-10-28 17:34:33 +08:00
1 parent 5e1e4c600c
commit 641f280012
13 files changed
+2067

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/zsh
cd -- "${0:A:h}" || exit 1
if [[ -x /opt/homebrew/bin/node ]]; then
demo_node=/opt/homebrew/bin/node
elif command -v node >/dev/null 2>&1; then
demo_node=$(command -v node)
else
print "未找到Node.js。请先安装Node.js,再双击打开演示。"
read -r "?按回车关闭。"
exit 1
fi
"$demo_node" server.js
if [[ $? -ne 0 ]]; then
read -r "?启动未完成,按回车关闭。"
fi