diff --git a/luci-app-openclash/Makefile b/luci-app-openclash/Makefile index c7b42986..1c5fd132 100644 --- a/luci-app-openclash/Makefile +++ b/luci-app-openclash/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-openclash -PKG_VERSION:=0.46.011 +PKG_VERSION:=0.46.014 PKG_RELEASE:=beta PKG_MAINTAINER:=vernesong @@ -100,7 +100,6 @@ endef define Package/$(PKG_NAME)/postinst #!/bin/sh sed -i "s/v0.00.00-beta/v$(PKG_VERSION)-beta/g" /www/luci-static/resources/openclash/img/version.svg >/dev/null 2>&1 - /etc/init.d/network restart >/dev/null 2>&1 & exit 0 endef diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/other-rules-edit.lua b/luci-app-openclash/luasrc/model/cbi/openclash/other-rules-edit.lua index 2ffc96e7..ab2c24ed 100644 --- a/luci-app-openclash/luasrc/model/cbi/openclash/other-rules-edit.lua +++ b/luci-app-openclash/luasrc/model/cbi/openclash/other-rules-edit.lua @@ -387,17 +387,6 @@ end o:value("DIRECT") o:value("REJECT") -o = s:option(ListValue, "AntiIP", translate("Anti IP")) -o:depends("rule_name", "lhie1") -o.rmempty = true -for groupname in string.gmatch(groupnames, "([^'##\n']+)##") do - if groupname ~= nil and groupname ~= "" then - o:value(groupname) - end -end -o:value("DIRECT") -o:value("REJECT") - o = s:option(ListValue, "Domestic", translate("Domestic")) o:depends("rule_name", "lhie1") o:depends("rule_name", "ConnersHua") diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-config.lua b/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-config.lua index 13e585b5..f1a11fb7 100644 --- a/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-config.lua +++ b/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-config.lua @@ -24,7 +24,7 @@ end m = Map(openclash, translate("Edit Rule Providers")) m.pageaction = false -m.description=translate("规则集使用介绍:https://lancellc.gitbook.io/clash/clash-config-file/rule-provider") +m.description=translate("规则集使用介绍:https://wiki.metacubex.one/config/rule-providers/content/") m.redirect = luci.dispatcher.build_url("admin/services/openclash/rule-providers-settings") if m.uci:get(openclash, sid) ~= "rule_providers" then luci.http.redirect(m.redirect) diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-settings.lua b/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-settings.lua index 8e441f18..8bfb8ca8 100644 --- a/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-settings.lua +++ b/luci-app-openclash/luasrc/model/cbi/openclash/rule-providers-settings.lua @@ -21,7 +21,7 @@ m.description=translate("Attention:").. "
".. "
"..translate("When setting this page, if the groups is empty, please go to the page to add").. "
".. -"
"..translate("Introduction to rule set usage: https://lancellc.gitbook.io/clash/clash-config-file/rule-provider") +"
"..translate("Introduction to rule set usage: https://wiki.metacubex.one/config/rule-providers/content/") function IsRuleFile(e) e=e or"" diff --git a/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua b/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua index aa71b47d..75cfebdb 100644 --- a/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua +++ b/luci-app-openclash/luasrc/model/cbi/openclash/servers.lua @@ -15,8 +15,8 @@ m.description=translate("Attention:").. "
"..translate("1. Before modifying the configuration file, please click the button below to read the configuration file").. "
"..translate("2. Proxy-providers address can be directly filled in the subscription link").. "
".. -"
"..translate("Introduction to proxy usage: https://lancellc.gitbook.io/clash/clash-config-file/proxies").. -"
"..translate("Introduction to proxy-provider usage: https://lancellc.gitbook.io/clash/clash-config-file/proxy-provider") +"
"..translate("Introduction to proxy usage: https://wiki.metacubex.one/config/proxies/").. +"
"..translate("Introduction to proxy-provider usage: https://wiki.metacubex.one/config/proxy-providers/") s = m:section(TypedSection, "openclash") s.anonymous = true diff --git a/luci-app-openclash/luasrc/view/openclash/select_git_cdn.htm b/luci-app-openclash/luasrc/view/openclash/select_git_cdn.htm index 8e5e1de1..3acbaf9e 100644 --- a/luci-app-openclash/luasrc/view/openclash/select_git_cdn.htm +++ b/luci-app-openclash/luasrc/view/openclash/select_git_cdn.htm @@ -50,6 +50,34 @@