From 9c0aeea505ff9bcd5cff44be4e14073304f66ad4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 18 Nov 2026 05:34:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=85=20Sync=202026-11-18=2005:34:41?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart b/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart index 5b1d1f3c0..95415480f 100755 --- a/luci-app-quickstart/root/etc/uci-defaults/50_luci-quickstart +++ b/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":&/