Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xinlingduyu authored Aug 15, 2023
1 parent 0628123 commit 59922e8
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,39 +28,29 @@



3,选择源码

- 进入.github/workflows文件夹,打开【通用编译openwrt.yml】或者【电视盒子专用编译+打包IMG镜像】,大概在23行找到下面代码:

3,设置config
- 进入config文件夹,需要用哪个分支的源码,就打开哪个文件夹。

REPO_URL: https://github.com/Lienol/openwrt (修改成你想要的源码地址)

REPO_BRANCH: 22.03 (修改分支,如果没有分支的,直接填写main)
设置config文件,可以从本地设置好后,复制进去替换掉即可。


4,添加插件或主题

- 打开diy-part1.sh文件,电视盒子必须安装amlogic插件,格式如下:
- 进入config文件夹,需要用哪个分支的源码,就打开哪个文件夹。打开diy-part2.sh文件,电视盒子必须安装amlogic插件,格式如下:

#####Add a feed source

echo 'src-git amlogic https://github.com/ophub/luci-app-amlogic' >>feeds.conf.default


5,定制openwrt

- 打开.config文件,具体怎么设置,建议先去了解如何编译,此默认.config文件基于(电视盒子S905X3)配置!

6,开始编译,

5,开始编译,

- 点击菜单栏的【Actions】,左边菜单栏选择编译流程(说明:通用编译适合常用设备,如果你是电视盒子,那么请选择电视盒子编译)


7,下载固件



由于时间仓促,修改可能不到位,后续慢慢补充!


0 comments on commit 59922e8

Please sign in to comment.