File tree 4 files changed +27
-6
lines changed
4 files changed +27
-6
lines changed Original file line number Diff line number Diff line change @@ -58,21 +58,23 @@ todo:
58
58
## 安装说明
59
59
60
60
1.zy安装方案
61
+
61
62
* [ 多平台安装教程] ( https://zy.catni.cn/otherShare/drpyS-build.html )
62
63
63
64
2.自动化安装方案(直接薅道长羊毛)
65
+
64
66
* 终端执行
65
67
66
- bash -c "$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh )"
68
+ ` bash -c "$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)" `
67
69
68
70
* 添加定时方案
69
71
70
- 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 -
72
+ ` 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 - `
71
73
72
74
或者下载脚本到本地后
73
75
74
- chmod a+x /path/autorun.sh
76
+ ` chmod a+x /path/autorun.sh `
75
77
76
- echo "30 7 * * * bash /path/autorun.sh >> /path/logfile.log 2>&1" | crontab -
78
+ ` echo "30 7 * * * bash /path/autorun.sh >> /path/logfile.log 2>&1" | crontab - `
77
79
78
80
命令说明 /patch 为脚本存放路径(脚本放在与源码同级的自定义目录中)
Original file line number Diff line number Diff line change 1099
1099
"type" : " alidrive"
1100
1100
}
1101
1101
]
1102
- }
1102
+ }
Original file line number Diff line number Diff line change 1099
1099
"type" : " alidrive"
1100
1100
}
1101
1101
]
1102
- }
1102
+ }
Original file line number Diff line number Diff line change @@ -57,6 +57,25 @@ <h2 id="问题说明">问题说明</h2>
57
57
< ol >
58
58
< li > windows上直接运行index.js可能会发现运行过程中的日志打印出中文乱码。建议通过yarn dev运行或者在package.json里点击dev脚本运行</ li >
59
59
</ ol >
60
+ < h2 id ="安装说明 "> 安装说明</ h2 >
61
+ < p > 1.zy安装方案</ p >
62
+ < ul >
63
+ < li > < a href ="https://zy.catni.cn/otherShare/drpyS-build.html "> 多平台安装教程</ a > </ li >
64
+ </ ul >
65
+ < p > 2.自动化安装方案(直接薅道长羊毛)</ p >
66
+ < ul >
67
+ < li > 终端执行</ li >
68
+ </ ul >
69
+ < p > < code > bash -c "$(curl -fsSLk https://github.com/hjdhnx/drpy-node/raw/refs/heads/main/autorun.sh)"</ code > </ p >
70
+ < ul >
71
+ < li > 添加定时方案</ li >
72
+ </ ul >
73
+ < p > < code > 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 -</ code > </ p >
74
+ < p > 或者下载脚本到本地后</ p >
75
+ < p > < code > chmod a+x /path/autorun.sh</ code > </ p >
76
+ < p > < code > echo "30 7 * * * bash /path/autorun.sh >> /path/logfile.log 2>&1" | crontab -</ code > </ p >
77
+ < p > 命令说明 /patch 为脚本存放路径(脚本放在与源码同级的自定义目录中)</ p >
60
78
61
79
</ body >
62
80
</ html >
81
+
You can’t perform that action at this time.
0 commit comments