Skip to content

Commit

Permalink
模板文件重构
Browse files Browse the repository at this point in the history
  • Loading branch information
hugcabbage committed Oct 19, 2022
1 parent f107116 commit d542351
Show file tree
Hide file tree
Showing 17 changed files with 262 additions and 147 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

默认编译第一个,即小米4A千兆版。如需要其他机型,在运行workflow界面点开`选择机型`的下拉框,即可手动选择其他机型。

如预置机型中没有你需要的,可以使用templet目录下的文件新增机型[使用教程](templet/instruction.md)
如预置机型中没有你需要的,可以使用templet目录下的文件新增机型。

喜欢的话,右上角Star一下,方便再找。

Expand Down Expand Up @@ -42,7 +42,7 @@

每个机型关联四个文件,在preset-models目录中。

> [数字]clone.sh
> [数字].clone.sh
此脚本用来拉取固件源码和扩展插件源码,新增插件源时,建议先在本地测试下是否缺依赖。

Expand All @@ -52,7 +52,7 @@

`git clone -b 分支名 链接`

> [数字]modify.sh
> [数字].modify.sh
此脚本用于固件初始化设置,修改登录IP、主机名、WiFi名称等。

Expand Down Expand Up @@ -118,13 +118,13 @@
默认勾选。推荐,空间无限,单文件不能超过2GB,有内容记录。 release区见下图:

<img src="templet/images/release_zone.png" width="70%" ></img>
<img src="extra-files/images/release_zone.png" width="70%" ></img>

> 上传到artifact:
默认不勾选。不推荐,无内容记录。 artifact区见下图:

<img src="templet/images/artifact_zone.png" width="70%" ></img>
<img src="extra-files/images/artifact_zone.png" width="70%" ></img>

> 版本描述:
Expand All @@ -146,7 +146,7 @@ Actions流程顺利完成后,去release(或者artifact)下载你的固件,re

## 提示

1.直接在Actions中运行`固件编译`就能编译出固件,但默认插件数量较少,对插件有增、减需要的,到`[数字].config`中自行选择。若在`[数字]clone.sh`中添加了插件源,在`[数字].config`要作对应修改,建议先在本地make menuconfig测试。
1.直接在Actions中运行`固件编译`就能编译出固件,但默认插件数量较少,对插件有增、减需要的,到`[数字].config`中自行选择。若在`[数字].clone.sh`中添加了插件源,在`[数字].config`要作对应修改,建议先在本地make menuconfig测试。

2.超频方案默认不启用,方案来自该[帖子](https://www.right.com.cn/forum/thread-4042045-1-1.html)

Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file removed templet/0.config
Empty file.
6 changes: 0 additions & 6 deletions templet/0clone.sh

This file was deleted.

5 changes: 0 additions & 5 deletions templet/0modify.sh

This file was deleted.

13 changes: 13 additions & 0 deletions templet/init.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
board:=ramips
subtarget:=mt7621
device:=netgear_ex6150
device-name:=netgear-ex6150
base:=https://github.com/immortalwrt/immortalwrt.git@master
app-path:=package/supply-packages
# git-app:=https://github.com/jerrykuku/luci-theme-argon.git
# git-app:=https://github.com/jerrykuku/luci-app-argon-config.git
git-app:=https://github.com/kenzok8/openwrt-packages.git
# git-app:=https://github.com/Ausaci/luci-app-nat6-helper.git
# git-app:=https://github.com/xiaorouji/openwrt-passwall.git@packages@passwall-packages
# svn-app:=https://github.com/xiaorouji/openwrt-passwall/branches/luci/luci-app-passwall
# svn-app:=https://github.com/vernesong/OpenClash/trunk/luci-app-openclash
130 changes: 0 additions & 130 deletions templet/instruction.md

This file was deleted.

5 changes: 5 additions & 0 deletions templet/instruction.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.复制此目录下的init.example,重命名为init,并按需修改文件内容。

2.移动此目录下的produce.yml到.github/workflows。

3.Actions运行produce流程,流程完毕(如果不出错的话)相关配置文件会回传到仓库。
Loading

0 comments on commit d542351

Please sign in to comment.