Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lede 如何设置你的主题为默认主题呢? #428

Closed
cjlhll opened this issue Jul 4, 2023 · 1 comment
Closed

lede 如何设置你的主题为默认主题呢? #428

cjlhll opened this issue Jul 4, 2023 · 1 comment

Comments

@cjlhll
Copy link

cjlhll commented Jul 4, 2023

我修改了Makefile文件,设置了默认主题,是lede源码的那个版本,太难看了,怎么设置为你的呢?在线等。

@SpeedPartner
Copy link
Collaborator

SpeedPartner commented Jul 4, 2023

1.删除lede的luci源中的argon旧版本主题(需先feeds update):
rm -rf feeds/luci/themes/luci-theme-argon
2.拉取最新的18.06分支的argon主题源码到 package/downloads/luci-theme-argon :
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/downloads/luci-theme-argon
3.修改lede的默认主题,位置 feeds/luci/collections/luci/Makefile :
sed -i 's/luci-theme-bootstrap/luci-theme-argon/' feeds/luci/collections/luci/Makefile
4.确认默认主题是否修改成功:
make menuconfig #选择 LuCI->Themes->luci-theme-argon
5.编译固件:
make -j1 V=s

@SpeedPartner SpeedPartner pinned this issue Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants