From a01fcdfe59e93bba4ebaba0f37e208945c2d4824 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Wed, 18 Nov 2026 05:30:57 +0800 Subject: [PATCH] Update 50_luci-quickstart --- .../root/etc/uci-defaults/50_luci-quickstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/diy/packages/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart b/.github/diy/packages/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart index 5b1d1f3c0..95415480f 100644 --- a/.github/diy/packages/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart +++ b/.github/diy/packages/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart @@ -7,10 +7,10 @@ sed -i -E ' s/[^[]*\("iStoreOS官网","iStoreOS website"\)\),1\),// # 2. 主题模式通过 html 标签 data-*-mode 判断默认选 dark 或 light,否则默认跟随系统(system) - s/document\.body\.getAttribute\("theme"\)/(Array.from(document.documentElement.attributes).find(a=>\/^data-.*-mode$\/.test(a.name))||{}).value/ + s/document\.body\.getAttribute\("theme"\)/(Array.from(document.documentElement.attributes).find(a=>\/^data-.*mode$\/.test(a.name))||{}).value/ s/an=Ed\(\)\|\|ri\(\)/an=ri()/ s/\([^()]*\.matches\)!=null\?[^:]*:window\.matchMedia\([^)]*\)\.matches/document.documentElement.dataset.darkmode!=null?document.documentElement.dataset.darkmode==="true":&/ - s/\((Ld)\),[a-zA-Z0-9_$]+\.observe\(document\.body,\{attributes:!0,attributeFilter:\["theme"\]\}\)/(m=>{m.some(r=>\/^data-.*-mode$\/.test(r.attributeName))\&\&\1(),m.some(r=>r.attributeName==="data-darkmode")\&\&Dd()}),wl.observe(document.documentElement,{attributes:!0})/ + s/\((Ld)\),[a-zA-Z0-9_$]+\.observe\(document\.body,\{attributes:!0,attributeFilter:\["theme"\]\}\)/(m=>{m.some(r=>\/^data-.*mode$\/.test(r.attributeName))\&\&\1(),m.some(r=>r.attributeName==="data-darkmode")\&\&Dd()}),wl.observe(document.documentElement,{attributes:!0})/ # 3. 去除网络连接卡片中的软件源检测与配置 s/[a-zA-Z0-9_$]+\.networkInfo/&==="softSourceFailed"?"netSuccess":&/