From 14d228a5ef06ab9f1f172741c2bbeea5de9b548d Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Wed, 22 Jul 2026 20:49:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E9=80=89=E9=A1=B9=20g=20=E8=B0=83=E7=94=A8=E9=AB=98=E7=BA=A7?= =?UTF-8?q?=E5=8D=B8=E8=BD=BD=E6=8F=92=E4=BB=B6=E3=80=82mt3600be=E4=B8=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- be3600.sh | 3 +++ be6500.sh | 3 +++ be9300.sh | 3 +++ gl-inet-op24.sh | 3 +++ gl-inet.sh | 3 +++ lib/lib-common.sh | 21 ++++++++++++++++++++- mt5000.sh | 3 +++ mudi7.sh | 3 +++ 8 files changed, 41 insertions(+), 1 deletion(-) diff --git a/be3600.sh b/be3600.sh index 20bbd3f..95ac8a2 100644 --- a/be3600.sh +++ b/be3600.sh @@ -125,6 +125,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/be6500.sh b/be6500.sh index 941b8d6..e455866 100644 --- a/be6500.sh +++ b/be6500.sh @@ -130,6 +130,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/be9300.sh b/be9300.sh index 28c52e0..59bb00c 100644 --- a/be9300.sh +++ b/be9300.sh @@ -130,6 +130,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/gl-inet-op24.sh b/gl-inet-op24.sh index f25a171..5a5a2c9 100644 --- a/gl-inet-op24.sh +++ b/gl-inet-op24.sh @@ -183,6 +183,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/gl-inet.sh b/gl-inet.sh index 0e258f9..5f50eae 100755 --- a/gl-inet.sh +++ b/gl-inet.sh @@ -287,6 +287,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/lib/lib-common.sh b/lib/lib-common.sh index 0c7e41d..15741d5 100644 --- a/lib/lib-common.sh +++ b/lib/lib-common.sh @@ -101,7 +101,7 @@ add_author_info() { uci set system.@system[0].notes='文档说明: https://tvhelper.cpolar.cn/' uci commit system - + sed -i "s/boardinfo.kernel,_('Local Time')/boardinfo.kernel,'脚本美化','wukongdaily',_('Local Time')/" /www/luci-static/resources/view/status/include/10_system.js rm -rf /tmp/luci-* /etc/init.d/uhttpd restart @@ -208,6 +208,25 @@ do_install_argon_skin() { fi } +# ============================================================================ +# 高级卸载插件安装 +# ============================================================================ +install_advanced_uninstall() { + if command -v apk > /dev/null 2>&1; then + echo "高级卸载插件暂不支持 25.12.x OpenWrt 系统" + echo "请在 OPKG 包管理器的系统上使用此功能" + return 1 + fi + if ! command -v is-opkg > /dev/null 2>&1; then + echo "请先安装 iStore 商店后再安装高级卸载插件" + return 1 + fi + echo "正在安装高级卸载插件..." + wget --user-agent="Mozilla/5.0" -O "/tmp/luci-app-uninstall.run" "https://plugin.vumstar.com/download/luci-app-uninstall.run" + sh /tmp/luci-app-uninstall.run + echo "高级卸载插件安装完成" +} + # ============================================================================ # iStore 商店安装 (64位) # ============================================================================ diff --git a/mt5000.sh b/mt5000.sh index a79ba1c..2b65538 100644 --- a/mt5000.sh +++ b/mt5000.sh @@ -142,6 +142,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;; diff --git a/mudi7.sh b/mudi7.sh index e247e8a..b2e8b74 100644 --- a/mudi7.sh +++ b/mudi7.sh @@ -137,6 +137,9 @@ while true; do echo "退出" exit 0 ;; + g | G) + install_advanced_uninstall + ;; *) echo "无效选项,请重新选择。" ;;