Skip to content

Commit

Permalink
v0.43.07-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
vernesong committed Oct 18, 2021
1 parent a0978e5 commit 71bfbb6
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 25 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.7.1">
<img src="https://img.shields.io/badge/Clash-v1.7.1-blue.svg">
</a>
<a target="_blank" href="https://github.com/vernesong/OpenClash/tree/v0.43.06-beta">
<img src="https://img.shields.io/badge/source code-v0.43.06--beta-green.svg">
<a target="_blank" href="https://github.com/vernesong/OpenClash/tree/v0.43.07-beta">
<img src="https://img.shields.io/badge/source code-v0.43.07--beta-green.svg">
</a>
<a target="_blank" href="https://github.com/vernesong/OpenClash/releases/tag/v0.43.06-beta">
<img src="https://img.shields.io/badge/New Release-v0.43.06--beta-orange.svg">
<a target="_blank" href="https://github.com/vernesong/OpenClash/releases/tag/v0.43.07-beta">
<img src="https://img.shields.io/badge/New Release-v0.43.07--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.43.06
PKG_VERSION:=0.43.07
PKG_RELEASE:=beta
PKG_MAINTAINER:=vernesong <https://github.com/vernesong/OpenClash>

Expand Down
13 changes: 12 additions & 1 deletion luci-app-openclash/root/etc/init.d/openclash
Original file line number Diff line number Diff line change
Expand Up @@ -1135,6 +1135,17 @@ do_run_file()
[ ! -x "$dev_core_path" ] && chmod 4755 "$dev_core_path" 2>/dev/null

#文件检查
#fake_ip_filter
if [ "$3" = "fake-ip" ]; then
if [ ! -f "/tmp/openclash_fake_filter.list" ] || [ -n "$(grep "config servers" /etc/config/openclash 2>/dev/null)" ]; then
/usr/share/openclash/openclash_fake_filter.sh
fi
if [ -s "/tmp/openclash_servers_fake_filter.conf" ]; then
mkdir -p /tmp/dnsmasq.d
cp /tmp/openclash_servers_fake_filter.conf /tmp/dnsmasq.d/dnsmasq_openclash.conf
fi
fi

[ -f "$geoip_path" ] && [ "$small_flash_memory" = "1" ] && {
ln -s "$geoip_path" /etc/openclash/Country.mmdb 2>/dev/null
}
Expand Down Expand Up @@ -2038,7 +2049,7 @@ start()

LOG_OUT "Step 2: Check The Components..."
#检查文件是否存在
do_run_file "$RAW_CONFIG_FILE" "$BACKUP_FILE"
do_run_file "$RAW_CONFIG_FILE" "$BACKUP_FILE" "$en_mode"

#快速启动判断
check_run_quick
Expand Down
Binary file modified luci-app-openclash/root/etc/openclash/Country.mmdb
Binary file not shown.
12 changes: 7 additions & 5 deletions luci-app-openclash/root/etc/openclash/china_ip6_route.ipset
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ add china_ip6_route 2001:df3:c680::/48
add china_ip6_route 2001:df3:d880::/48
add china_ip6_route 2001:df3:ed80::/48
add china_ip6_route 2001:df3:ef80::/48
add china_ip6_route 2001:df4:80::/48
add china_ip6_route 2001:df4:880::/48
add china_ip6_route 2001:df4:d80::/48
add china_ip6_route 2001:df4:1280::/48
Expand All @@ -90,7 +89,6 @@ add china_ip6_route 2001:df5:2080::/48
add china_ip6_route 2001:df5:5f80::/48
add china_ip6_route 2001:df5:7800::/48
add china_ip6_route 2001:df6:100::/48
add china_ip6_route 2001:df6:1c00::/48
add china_ip6_route 2001:df6:3d00::/48
add china_ip6_route 2001:df6:5d00::/48
add china_ip6_route 2001:df6:6800::/48
Expand All @@ -111,6 +109,7 @@ add china_ip6_route 2001:f88::/32
add china_ip6_route 2001:4438::/32
add china_ip6_route 2001:4510::/29
add china_ip6_route 2400:1040::/32
add china_ip6_route 2400:1160::/32
add china_ip6_route 2400:12c0::/32
add china_ip6_route 2400:1340::/32
add china_ip6_route 2400:1380::/32
Expand Down Expand Up @@ -534,7 +533,6 @@ add china_ip6_route 2401:ec40::/32
add china_ip6_route 2401:f300::/32
add china_ip6_route 2401:f7c0::/32
add china_ip6_route 2401:fa80::/32
add china_ip6_route 2401:fac0::/32
add china_ip6_route 2401:fb80::/32
add china_ip6_route 2401:fc80::/32
add china_ip6_route 2401:fe80::/32
Expand Down Expand Up @@ -1176,7 +1174,6 @@ add china_ip6_route 2404:8a80::/32
add china_ip6_route 2404:8b00::/32
add china_ip6_route 2404:8dc0::/32
add china_ip6_route 2404:9340::/32
add china_ip6_route 2404:9880::/32
add china_ip6_route 2404:9b80::/32
add china_ip6_route 2404:9c80::/32
add china_ip6_route 2404:a000::/32
Expand Down Expand Up @@ -1733,7 +1730,6 @@ add china_ip6_route 2406:de80::/32
add china_ip6_route 2406:df80::/32
add china_ip6_route 2406:e080::/32
add china_ip6_route 2406:e180::/32
add china_ip6_route 2406:e280::/32
add china_ip6_route 2406:e2c0::/32
add china_ip6_route 2406:e380::/32
add china_ip6_route 2406:e3c0::/32
Expand Down Expand Up @@ -1863,14 +1859,18 @@ add china_ip6_route 2407:d480::/32
add china_ip6_route 2407:d580::/32
add china_ip6_route 2407:d680::/32
add china_ip6_route 2407:d780::/32
add china_ip6_route 2407:d7c0::/32
add china_ip6_route 2407:d880::/32
add china_ip6_route 2407:d8c0::/32
add china_ip6_route 2407:d980::/32
add china_ip6_route 2407:d9c0::/32
add china_ip6_route 2407:da80::/32
add china_ip6_route 2407:db80::/32
add china_ip6_route 2407:dc80::/32
add china_ip6_route 2407:dd80::/32
add china_ip6_route 2407:de80::/32
add china_ip6_route 2407:df80::/32
add china_ip6_route 2407:dfc0::/32
add china_ip6_route 2407:e080::/32
add china_ip6_route 2407:e180::/32
add china_ip6_route 2407:e280::/32
Expand All @@ -1882,7 +1882,9 @@ add china_ip6_route 2407:e780::/32
add china_ip6_route 2407:e800::/32
add china_ip6_route 2407:ea80::/32
add china_ip6_route 2407:eb80::/32
add china_ip6_route 2407:ec40::/32
add china_ip6_route 2407:ec80::/32
add china_ip6_route 2407:ecc0::/32
add china_ip6_route 2407:ed80::/32
add china_ip6_route 2407:ee80::/32
add china_ip6_route 2407:ef80::/32
Expand Down

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions luci-app-openclash/root/usr/share/openclash/yml_change.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,6 @@ if [ "$(ruby_read "$7" "['secret']")" != "$4" ]; then
fi
uci commit openclash

if [ "$2" = "fake-ip" ]; then
if [ ! -f "/tmp/openclash_fake_filter.list" ] || [ ! -z "$(grep "config servers" /etc/config/openclash 2>/dev/null)" ]; then
/usr/share/openclash/openclash_fake_filter.sh
fi
if [ -s "/tmp/openclash_servers_fake_filter.conf" ]; then
mkdir -p /tmp/dnsmasq.d
cp /tmp/openclash_servers_fake_filter.conf /tmp/dnsmasq.d/dnsmasq_openclash.conf
fi
fi

ruby -ryaml -E UTF-8 -e "
begin
Value = YAML.load_file('$7');
Expand Down
Binary file removed luci-app-openclash_0.43.06-beta_all.ipk
Binary file not shown.
Binary file added luci-app-openclash_0.43.07-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.43.06-beta
https://img.shields.io/badge/New Release-v0.43.06--beta-orange.svg
v0.43.07-beta
https://img.shields.io/badge/New Release-v0.43.07--beta-orange.svg

0 comments on commit 71bfbb6

Please sign in to comment.