Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 97ade2f

Browse files
author
llyc
committed
chore: bump version
1 parent a125dc1 commit 97ade2f

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#### ⟳ Changelog v3.5.1
2+
- fix
13
#### ⟳ Changelog v3.5
24
- optimize clash service script
35
- optimize iptables script

module.prop

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
id=ClashForMagisk
22
name=Clash for Magisk
3-
version=v3.5
4-
versionCode=20230209
3+
version=v3.5.1
4+
versionCode=20230210
55
author=t🌸amarin
66
description= Use iptables to support Clash's transparent proxy. Hey, damn half-crippled Android!!!
77
updateJson=https://github.com/taamarin/ClashforMagisk/raw/master/update.json

scripts/clash.iptables

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ if [ "${mode}" != "core" ] ; then
453453
iptables="ip6tables -w 100" && stop_tproxy
454454
iptables="ip6tables -w 100" && stop_redirect
455455
iptables="ip6tables -w 100" && forward -D
456-
log "[warning] clean up iptables transparent proxy rules done."
457456
ipv6_enable
457+
log "[warning] clean up iptables transparent proxy rules done."
458458
;;
459459
?)
460460
echo ""
@@ -476,6 +476,9 @@ else
476476
iptables="iptables -w 100" && forward -I
477477
if [ "${ipv6}" = "true" ] ; then
478478
iptables="ip6tables -w 100" && forward -I
479+
else
480+
disable_ipv6
481+
log "[warn ]disable IPv6."
479482
fi
480483
log "[info] mode: ${mode}, disable transparent proxy."
481484
log "[info] Clash terhubung."
@@ -488,6 +491,7 @@ else
488491
iptables="ip6tables -w 100" && stop_tproxy >> /dev/null 2>&1
489492
iptables="ip6tables -w 100" && stop_redirect >> /dev/null 2>&1
490493
iptables="ip6tables -w 100" && forward -D
494+
ipv6_enable
491495
log "[warning] cleaning up proxy rules."
492496
;;
493497
*)

update.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "v3.5",
3-
"versionCode": "20230209",
4-
"zipUrl": "https://github.com/taamarin/ClashforMagisk/releases/download/v3.5/Clash_for_Magisk-v3.5.zip",
2+
"version": "v3.5.1",
3+
"versionCode": "20230210",
4+
"zipUrl": "https://github.com/taamarin/ClashforMagisk/releases/download/v3.5.1/Clash_for_Magisk-v3.5.1.zip",
55
"changelog": "https://github.com/taamarin/ClashforMagisk/raw/master/CHANGELOG.md"
66
}

0 commit comments

Comments
 (0)