cursor1 / start.sh
clash-linux's picture
Upload 51 files
5952dec verified
raw
history blame contribute delete
324 Bytes
#!/bin/bash
# 编码:UTF-8
# 安装依赖
echo "install dependencies..."
npm install --no-fund --quiet --no-audit
# 检查上一个命令的退出状态
if [ $? -ne 0 ]; then
echo "dependencies installation failed,maybe start application failed"
fi
# 启动应用
echo "start application..."
npm start