Skip to content

Commit

Permalink
v0.44.03-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
vernesong committed Dec 1, 2021
1 parent 515c446 commit 62aec78
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<a target="_blank" href="https://github.com/Dreamacro/clash/releases/tag/v1.8.0">
<img src="https://img.shields.io/badge/Clash-v1.8.0-blue.svg">
</a>
<a target="_blank" href="https://github.com/vernesong/OpenClash/tree/v0.44.02-beta">
<img src="https://img.shields.io/badge/source code-v0.44.02--beta-green.svg">
<a target="_blank" href="https://github.com/vernesong/OpenClash/tree/v0.44.03-beta">
<img src="https://img.shields.io/badge/source code-v0.44.03--beta-green.svg">
</a>
<a target="_blank" href="https://github.com/vernesong/OpenClash/releases/tag/v0.44.02-beta">
<img src="https://img.shields.io/badge/New Release-v0.44.02--beta-orange.svg">
<a target="_blank" href="https://github.com/vernesong/OpenClash/releases/tag/v0.44.03-beta">
<img src="https://img.shields.io/badge/New Release-v0.44.03--beta-orange.svg">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion luci-app-openclash/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk

PKG_NAME:=luci-app-openclash
PKG_VERSION:=0.44.02
PKG_VERSION:=0.44.03
PKG_RELEASE:=beta
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>

Expand Down
4 changes: 2 additions & 2 deletions luci-app-openclash/po/zh-cn/openclash.zh-cn.po
Original file line number Diff line number Diff line change
Expand Up @@ -2501,8 +2501,8 @@ msgstr "提示:开始自动选择(检测)YouTube Premium 解锁节点..."
msgid "Netflix Group:"
msgstr "Netflix 策略组:"

msgid "Disney Group:"
msgstr "Disney 策略组:"
msgid "Disney Plus Group:"
msgstr "Disney Plus 策略组:"

msgid "HBO Group:"
msgstr "HBO 策略组:"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function unlock_auto_select()
--auto get group
if type == "Netflix" then
luci.sys.call('curl -sL --limit-rate 5k https://www.netflix.com >/dev/null 2>&1 &')
elseif type == "Disney" then
elseif type == "Disney Plus" then
luci.sys.call('curl -sL --limit-rate 5k https://www.disneyplus.com >/dev/null 2>&1 &')
elseif type == "HBO" then
luci.sys.call('curl -sL --limit-rate 5k https://play.hbonow.com >/dev/null 2>&1 &')
Expand All @@ -79,7 +79,7 @@ function unlock_auto_select()
auto_get_group = con.connections[i].chains[#(con.connections[i].chains)]
break
end
elseif type == "Disney" then
elseif type == "Disney Plus" then
if string.match(con.connections[i].metadata.host, "www%.disneyplus%.com") then
auto_get_group = con.connections[i].chains[#(con.connections[i].chains)]
break
Expand All @@ -101,7 +101,7 @@ function unlock_auto_select()
if not auto_get_group then
if type == "Netflix" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_netflix") or "netflix|奈飞"
elseif type == "Disney" then
elseif type == "Disney Plus" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_disney") or "disney|迪士尼"
elseif type == "HBO" then
key_group = uci:get("openclash", "config", "stream_auto_select_group_key_hbo") or "hbo"
Expand Down Expand Up @@ -306,7 +306,7 @@ end
function proxy_unlock_test()
if type == "Netflix" then
region = netflix_unlock_test()
elseif type == "Disney" then
elseif type == "Disney Plus" then
region = disney_unlock_test()
elseif type == "HBO" then
region = hbo_unlock_test()
Expand Down Expand Up @@ -364,7 +364,7 @@ function get_proxy(info, group, name)
end
group_name = group
group = value.now
now_name = value.now
now_name = value.now or group_name
proxies = value.all
group_type = value.type
break
Expand All @@ -386,7 +386,7 @@ function get_proxy(info, group, name)
if value.name == name then
group_show = name
group_name = name
now_name = value.now
now_name = value.now or name
table.insert(proxies, group)
group_type = value.type
break
Expand Down Expand Up @@ -414,7 +414,7 @@ function get_proxy(info, group, name)
group_show = name .. "" .. group
end
end
now_name = value.now
now_name = value.now or group
group = value.now
break
end
Expand All @@ -424,7 +424,7 @@ function get_proxy(info, group, name)
for _, value in pairs(info.proxies) do
if value.name == name then
table.insert(proxies, group)
now_name = value.now
now_name = value.now or name
group_show = name
group_name = name
group_type = value.type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ fi
fi
if [ "$stream_auto_select_disney" -eq 1 ]; then
LOG_OUT "Tip: Start Auto Select Proxy For Disney Plus Unlock..."
/usr/share/openclash/openclash_streaming_unlock.lua "Disney" >> $LOG_FILE
/usr/share/openclash/openclash_streaming_unlock.lua "Disney Plus" >> $LOG_FILE
fi
if [ "$stream_auto_select_hbo" -eq 1 ]; then
LOG_OUT "Tip: Start Auto Select Proxy For HBO Unlock..."
Expand Down

Large diffs are not rendered by default.

Binary file removed luci-app-openclash_0.44.02-beta_all.ipk
Binary file not shown.
Binary file added luci-app-openclash_0.44.03-beta_all.ipk
Binary file not shown.
4 changes: 2 additions & 2 deletions version
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v0.44.02-beta
https://img.shields.io/badge/New Release-v0.44.02--beta-orange.svg
v0.44.03-beta
https://img.shields.io/badge/New Release-v0.44.03--beta-orange.svg

0 comments on commit 62aec78

Please sign in to comment.