README: 适配最新 yml 以及 .config 文件

This commit is contained in:
Hyy2001X 2020-12-17 21:24:38 +08:00 committed by GitHub
parent cd7375e601
commit fe8267c328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -33,11 +33,15 @@
1. 进入你的`AutoBuild-Actions`仓库
2. 编辑`Customize/AutoUpdate.sh`文件,修改`第 7 行`为你的 **设备名称**,修改`第 8 行`为你的 **Github 地址**
2. 首先需要将本地的 '.config' 文件**重命名**并上传到`Configs`文件夹
3. 编辑`Scripts/diy-script.sh`文件,修改`第 7 行`为作者,作者将在 OpenWrt 首页显示
3. 编辑`.github/workflows/NEWIFI_D2-NIGHTLY.yml`文件,修改`第 20 行`为上方**重命名**后的配置名称
4. **手动启动编译**: 点击右上方 ***Star*** 即可开始编译,最好先同步我的最新改动~~以获得更多特性(bug)~~
4. 编辑`Customize/AutoUpdate.sh`文件,修改`第 7 行`为你的 **设备名称**,修改`第 8 行`为你的 **Github 地址**
5. 编辑`Scripts/diy-script.sh`文件,修改`第 7 行`为作者,作者将在 OpenWrt 首页显示
6. **手动启动编译**: 点击右上方 ***Star*** 即可开始编译,最好先同步我的最新改动~~以获得更多特性(bug)~~
**添加额外的软件包:** 编辑`Scripts/diy-script.sh`,修改`Diy-Part1()`函数,参照下方语法:
```
@ -55,7 +59,7 @@
1. 进入你的`AutoBuild-Actions`仓库
2. 编辑`.github/workflows/AutoBuild.yml`文件,编辑`第 22 行`,并按需修改 corntab 参数(默认每天 19:00 开始编译)
2. 编辑`.github/workflows/AutoBuild.yml`文件,编辑`第 20 行`,并按需修改 corntab 参数(默认每天 19:00 开始编译)
3. 打开 Openwrt 主页,点击`系统`-`定时更新`,设置自动检查升级的时间并保存(**需要 [luci-app-autoupdate](https://github.com/Hyy2001X/luci-app-autoupdate) 支持**)