From 86da29ba4d1c8653b2ca400c27526b99c4ec263b Mon Sep 17 00:00:00 2001 From: tty228 Date: Thu, 11 Jul 2024 23:07:17 +0800 Subject: [PATCH] v3.5.5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 避免程序非正常中断时进程残留 2. 在线列表和日志页面样式更改,以适合不同主题 3. debug --- Makefile | 2 +- root/usr/share/wechatpush/wechatpush | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f723ea..4970c51 100755 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-wechatpush -PKG_VERSION:=3.5.4 +PKG_VERSION:=3.5.5 PKG_RELEASE:= PKG_MAINTAINER:=tty228 diff --git a/root/usr/share/wechatpush/wechatpush b/root/usr/share/wechatpush/wechatpush index bd595c1..d4115b8 100755 --- a/root/usr/share/wechatpush/wechatpush +++ b/root/usr/share/wechatpush/wechatpush @@ -1396,7 +1396,7 @@ up() { else # 剔除(重置)流量数据 usage down ${ip} - # 删除当前 IP 对应的键值,重新写入,否则要启用 unique_by(.ip) 去重 + # 删除当前 IP 对应的键值,重新写入,否则要启用 unique_by(.ip) 去重 jq --arg ip "$ip" 'del(.devices[] | select(.ip == $ip))' "$devices_json" >"$tmp_devices_json" && mv "$tmp_devices_json" "$devices_json" local name=$(getname "$ip" "$mac") local interface=$(getinterface "ip" "$mac")