Giter Club home page Giter Club logo

Comments (5)

ophub avatar ophub commented on July 17, 2024

仓库的releases地址发一下,插件里的设置截图发一下。/etc/config/amlogic 文件发一下,配置填写对了就可以使用。

https://github.com/ophub/luci-app-amlogic/blob/main/luci-app-amlogic/root/etc/config/amlogic

你参照这插件设置里的说明,和仓库首页里的说明,把仓库地址,关键字,等几个值根据你的仓库实际情况填写对

firmware_download_url="https:.*${releases_tag_keywords}.*_${SOC}_.*${main_line_version}.*${firmware_suffix}"

插件就是通过这几个关键字模糊匹配查找对应的固件

from luci-app-amlogic.

Tao173 avatar Tao173 commented on July 17, 2024

好的,我发现问题了,为了release置顶,我开了Draft上传,搞的地址一直在变。谢谢回复。

from luci-app-amlogic.

Tao173 avatar Tao173 commented on July 17, 2024

SOC

我是个zz,我重新发布了release,现在可以检测到更新了,但是我不知道它匹配的哪一个版本固件,因为三个版本的固件我都放在一个里面,详见release,还麻烦你帮忙看看。
链接链接链接防失效

from luci-app-amlogic.

ophub avatar ophub commented on July 17, 2024

下载最新的(最后上传到releases里面的,时间最新的)

# 下面这几个参数的赋值,就是插件设置里你填写的几项内容(其中的soc是插件自动根据当前固件识别,不用填)
firmware_repo="Tao173/Auto-Update-Router"
releases_tag_keywords="ARMv8_Plus_Myself"
soc="s905x3"
main_line_version="5.15"
firmware_suffix=".img.gz"

# 下面这个就是插件里查询最新固件的语句
curl -i -s "https://api.github.com/repos/${firmware_repo}/releases" | grep "browser_download_url" | grep -o "https:.*${releases_tag_keywords}.*_${soc}_.*${main_line_version}.*${firmware_suffix}" | sort -r | head -n 1

# 你把上面的2部分都依次执行下,得到结果是(最新发布的,时间戳在releases里是最新的):
https://github.com/Tao173/Auto-Update-Router/releases/download/ARMv8_Plus_Myself/Lienol_s905x3_multi_21.02_k5.15.43-Shmily.img.gz

你吧3个大佬的源码编译的固件放一个tags里,只能有1个是被使用的。一般建议分成3个releases,在tag里给他们区分,这样在设置关键字的时候大家选不同人的源码编译的固件。比如tags里分别带Lienol、immortalwrt、Lean字样。

from luci-app-amlogic.

Tao173 avatar Tao173 commented on July 17, 2024

ok,谢谢解答🤝

from luci-app-amlogic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.