Skip to content

Commit a6188df

Browse files
authored
Update README.md
添加自动化脚本运行说明
1 parent e4d0fec commit a6188df

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: README.md

+17
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,20 @@ todo:
5454
## 问题说明
5555

5656
1. windows上直接运行index.js可能会发现运行过程中的日志打印出中文乱码。建议通过yarn dev运行或者在package.json里点击dev脚本运行
57+
58+
## 安装说明
59+
60+
1.zy安装方案
61+
* [多平台安装教程](https://zy.catni.cn/otherShare/drpyS-build.html)
62+
63+
2.自动化安装方案(直接薅道长羊毛)
64+
* 终端执行
65+
bash -c "$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)"
66+
67+
* 添加定时方案
68+
echo "30 7 * * * bash -c \"\$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)\"" >> /path/logfile.log 2>&1" | crontab -
69+
或者下载脚本到本地后
70+
chmod a+x /path/autorun.sh
71+
echo "30 7 * * * bash /path/autorun.sh " >> /path/logfile.log 2>&1" | crontab -
72+
73+
命令说明 /patch 为脚本存放路径(脚本放在与源码同级的自定义目录中)

0 commit comments

Comments
 (0)