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设置了默认主题编译出来。不是默认主题。 #528

Open
mcusee opened this issue Oct 15, 2024 · 6 comments
Open

LEDE设置了默认主题编译出来。不是默认主题。 #528

mcusee opened this issue Oct 15, 2024 · 6 comments

Comments

@mcusee
Copy link

mcusee commented Oct 15, 2024

LEDE设置了默认主题编译出来。不是默认主题。手动切换后侧边栏没有,主题错误。 (更换主题方法是问题置顶的方法)

image

@SpeedPartner
Copy link
Collaborator

很明显,你编译错了主题版本,LEDE请使用本主题18.06分支源码编译;
请查看本项目issues中的置顶议题

@mcusee
Copy link
Author

mcusee commented Oct 17, 2024

很明显,你编译错了主题版本,LEDE请使用本主题18.06分支源码编译; 请查看本项目issues中的置顶议题

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

截图拉去的作者主题18.06
image
git clone -b 18.06 https://github.com/jerrykuku/luci-theme-argon.git package/downloads/luci-theme-argon

截图删除了LEDE的默认luci-theme-argon主题,也修改了默认主题
image

就是按照这个操作的,但是编译出来主题还是显示,2.3.1主题不知道是哪里出了问题。

@SpeedPartner
Copy link
Collaborator

1.如果你还是在原来的编译的LEDE源码中操作,请将之前git clone的主分支源码删除干净,确保LEDE源码下只有一个18.06分支的主题源码.
2.可能是你之前LEDE源码中已编译完成的v2.3.1主题无法降级编译安装,请先make clen,再重新全新编译.
如果还是不行,建议你删除整个LEDE源码,重新git clone,重新配置,重新编译.

@SpeedPartner
Copy link
Collaborator

更新:关于近期LEDE对于LuCI版本发生变更(更新)后,18.06分支主题不兼容的解决方法:
#529 (comment)

@fyngd
Copy link

fyngd commented Nov 22, 2024

更新:关于近期LEDE对于LuCI版本发生变更(更新)后,18.06分支主题不兼容的解决方法: #529 (comment)

大佬,新源码在哪里修改默认主题?

@SpeedPartner
Copy link
Collaborator

大佬,新源码在哪里修改默认主题?

请尝试更改源码下的feeds\luci\collections\luci-light\ Makefile

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

3 participants