Skip to content

Commit 63c9ab2

Browse files
committed
0.46.070
1 parent 3056771 commit 63c9ab2

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

luci-app-openclash/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include $(TOPDIR)/rules.mk
22

33
PKG_NAME:=luci-app-openclash
4-
PKG_VERSION:=0.46.069
4+
PKG_VERSION:=0.46.070
55
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>
66

77
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

luci-app-openclash/po/zh-cn/openclash.zh-cn.po

+5-2
Original file line numberDiff line numberDiff line change
@@ -1608,8 +1608,11 @@ msgstr "开始下载"
16081608
msgid "Download Successful, Start Pre Update Test..."
16091609
msgstr "下载成功,开始进行更新前测试..."
16101610

1611-
msgid "Pre Update Test Failed, The File is Saved in /tmp/openclash.ipk, Please Try to Update Manually!"
1612-
msgstr "更新前测试失败,文件保存在 /tmp/openclash.ipk,请尝试手动更新!"
1611+
msgid "Pre Update Test Failed, The File is Saved in /tmp/openclash.apk, Please Try to Update Manually With"
1612+
msgstr "更新前测试失败,文件保存在 /tmp/openclash.apk,请尝试以下命令手动更新"
1613+
1614+
msgid "Pre Update Test Failed, The File is Saved in /tmp/openclash.ipk, Please Try to Update Manually With"
1615+
msgstr "更新前测试失败,文件保存在 /tmp/openclash.ipk,请尝试以下命令手动更新"
16131616

16141617
msgid "Pre Update Test Passed, Ready to Update and Please Do not Refresh The Page and Other Operations..."
16151618
msgstr "更新前测试通过,准备开始更新,更新过程请不要刷新页面和进行其他操作..."

luci-app-openclash/root/etc/init.d/openclash

+1-1
Original file line numberDiff line numberDiff line change
@@ -2971,7 +2971,7 @@ get_config()
29712971
enable_respect_rules=$(uci -q get openclash.config.enable_respect_rules || echo 0)
29722972
intranet_allowed_wan_name=$(uci -q get openclash.config.intranet_allowed_wan_name || echo 0)
29732973
custom_fakeip_filter_mode=$(uci -q get openclash.config.custom_fakeip_filter_mode || echo "blacklist")
2974-
iptables_compat=$(iptables -m owner -h 2>/dev/null | grep "owner match options" || echo 0)
2974+
iptables_compat=$(iptables -m owner -h 2>/dev/null | grep "owner match options" || command -v fw4 || echo 0)
29752975
[ -z "$dns_port" ] && dns_port=7874 && uci -q set openclash.config.dns_port=7874
29762976
uci -q commit openclash
29772977
}

luci-app-openclash/root/usr/share/openclash/openclash_debug.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ dnsmasq-full(ipset): $(ts_re "$(dnsmasq --version |grep -v no-ipset |grep ipset)
141141
dnsmasq-full(nftset): $(ts_re "$(dnsmasq --version |grep nftset)")
142142
bash: $(ts_re "$(ipk_v "bash")")
143143
curl: $(ts_re "$(ipk_v "curl")")
144-
ca-certificates: $(ts_re "$(ipk_v "ca-certificates")")
144+
ca-bundle: $(ts_re "$(ipk_v "ca-bundle")")
145145
ipset: $(ts_re "$(ipk_v "ipset")")
146146
ip-full: $(ts_re "$(ipk_v "ip-full")")
147147
ruby: $(ts_re "$(ipk_v "ruby")")

luci-app-openclash/root/usr/share/openclash/openclash_update.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if [ -n "$OP_CV" ] && [ -n "$OP_LV" ] && [ "$(expr "$OP_LV" \> "$OP_CV")" -eq 1
9090
if [ -x "/bin/opkg" ]; then
9191
if [ -s "/tmp/openclash.ipk" ]; then
9292
if [ -z "$(opkg install /tmp/openclash.ipk --noaction 2>/dev/null |grep 'Upgrading luci-app-openclash on root' 2>/dev/null)" ]; then
93-
LOG_OUT "【OpenClash - v$LAST_VER】Pre Update Test Failed, The File is Saved in /tmp/openclash.ipk, Please Try to Update Manually!"
93+
LOG_OUT "【OpenClash - v$LAST_VER】Pre Update Test Failed, The File is Saved in /tmp/openclash.ipk, Please Try to Update Manually With【opkg install /tmp/openclash.ipk】"
9494
if [ "$(uci -q get openclash.config.restart)" -eq 1 ]; then
9595
uci -q set openclash.config.restart=0
9696
uci -q commit openclash
@@ -106,7 +106,7 @@ if [ -n "$OP_CV" ] && [ -n "$OP_LV" ] && [ "$(expr "$OP_LV" \> "$OP_CV")" -eq 1
106106
if [ -s "/tmp/openclash.apk" ]; then
107107
apk add -s -q --clean-protected --allow-untrusted /tmp/openclash.apk >/dev/null 2>&1
108108
if [ "$?" != "0" ]; then
109-
LOG_OUT "【OpenClash - v$LAST_VER】Pre Update Test Failed, The File is Saved in /tmp/openclash.apk, Please Try to Update Manually!"
109+
LOG_OUT "【OpenClash - v$LAST_VER】Pre Update Test Failed, The File is Saved in /tmp/openclash.apk, Please Try to Update Manually With【apk add -q --clean-protected --allow-untrusted /tmp/openclash.apk】"
110110
if [ "$(uci -q get openclash.config.restart)" -eq 1 ]; then
111111
uci -q set openclash.config.restart=0
112112
uci -q commit openclash

0 commit comments

Comments
 (0)