Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
184a19d
fix fetch context cancel
wwqgtxx Oct 22, 2023
115abf8
Update build-release.yaml
wwqgtxx Oct 22, 2023
9a895fe
chore: update actions to auto trigger check in PR
stevejohnson7 Oct 22, 2023
79366ba
Update Dependencies (#151)
clash-meta-maintainer[bot] Oct 22, 2023
191c8bc
chore: change upstream to android-real
stevejohnson7 Oct 23, 2023
15e0d87
Merge pull request #148 from Doddddd/patch-1
stevejohnson7 Oct 23, 2023
e04d532
Update Dependencies
stevejohnson7 Oct 23, 2023
fbf1aee
chore: add auto labels for issue-template
stevejohnson7 Oct 23, 2023
1b44bf2
chore: fix actions
stevejohnson7 Oct 23, 2023
a097278
Merge pull request #152 from MetaCubeX/update-dependencies
stevejohnson7 Oct 23, 2023
1b8799b
docs: add maintainance documentation
stevejohnson7 Oct 23, 2023
f89fad5
Update Dependencies
stevejohnson7 Oct 24, 2023
a7f3663
Merge pull request #155 from MetaCubeX/update-dependencies
stevejohnson7 Oct 24, 2023
c78945a
chore: add http proxy block list
xishang0128 Oct 24, 2023
ec78180
action: upload aritfacts when PR
stevejohnson7 Oct 26, 2023
d0e0a04
action: fix name
stevejohnson7 Oct 26, 2023
a931a88
Update Dependencies
stevejohnson7 Oct 26, 2023
e0559f8
action: revert signing process as PR cannot access secrets
stevejohnson7 Oct 26, 2023
2aae225
Merge pull request #158 from MetaCubeX/update-dependencies
stevejohnson7 Oct 26, 2023
64fcf59
Update Dependencies
stevejohnson7 Oct 27, 2023
4051033
Merge pull request #161 from MetaCubeX/update-dependencies
stevejohnson7 Oct 27, 2023
ecf0350
Squashed commit of the following:
stevejohnson7 Oct 29, 2023
b091a87
fix: fix startup crash
stevejohnson7 Oct 29, 2023
9773ea7
feat: add rotate anim to profile update btn
stevejohnson7 Oct 30, 2023
acc573f
Update Dependencies
clash-meta-maintainer[bot] Oct 31, 2023
bd82ba7
fix: avoid deprecated apis
stevejohnson7 Oct 31, 2023
b6f4f7a
feat: show toast after profile updated
stevejohnson7 Oct 31, 2023
74c36ac
chore: translate
stevejohnson7 Oct 31, 2023
ccfcb71
Merge pull request #162 from MetaCubeX/update-dependencies
stevejohnson7 Oct 31, 2023
0219392
feat: add intent filters for tasker automation (#119)
stevejohnson7 Nov 1, 2023
27c98e3
Update Dependencies
stevejohnson7 Nov 1, 2023
e193052
fix: find process mode override
riolurs Nov 1, 2023
00b2c81
Merge pull request #166 from MetaCubeX/update-dependencies
stevejohnson7 Nov 1, 2023
ad471f3
fix: adapt to format-broken logs (#165)
stevejohnson7 Nov 1, 2023
546378b
chore: code cleanup
stevejohnson7 Nov 2, 2023
6caa238
fix: fix frequent RemoteManager crash
stevejohnson7 Nov 2, 2023
7d98867
Update Dependencies
clash-meta-maintainer[bot] Nov 2, 2023
e47dca0
fix: remove duplicated DNS settings in meta-feature
stevejohnson7 Nov 2, 2023
a58af39
feat: add some override options about sniffing
stevejohnson7 Nov 2, 2023
f8a6a6a
chore: update version
stevejohnson7 Nov 2, 2023
cbbcc2a
Merge pull request #168 from MetaCubeX/update-dependencies
stevejohnson7 Nov 2, 2023
80037c2
action: better release action
stevejohnson7 Nov 2, 2023
dc80d75
action: better pre-release logic
stevejohnson7 Nov 2, 2023
a08a0c1
action: fix release tag
stevejohnson7 Nov 3, 2023
c7666a3
更换核心地址
aylz10 Jan 16, 2024
2205a90
核心依赖变更mihomo
aylz10 Jan 16, 2024
60974e8
修复 proxies.go
aylz10 Jan 16, 2024
1b5ce60
Update Dependencies (#1)
aylz10[bot] Jan 16, 2024
8fa4e33
Update dependency (#174)
Malus-risus Jan 18, 2024
4dd7aec
Bump version to 2.10.0 (210000)
actions-user Jan 18, 2024
c64e1a0
Update Dependencies (#177)
clash-meta-maintainer[bot] Jan 21, 2024
dccab90
fix: delay
Larvan2 Jan 21, 2024
916d6a7
Update Dependencies (#179)
clash-meta-maintainer[bot] Jan 24, 2024
fa360d8
Update Dependencies (#181)
clash-meta-maintainer[bot] Feb 5, 2024
2832c9e
Update Dependencies (#182)
clash-meta-maintainer[bot] Feb 8, 2024
c18fe9a
Bump version to 2.10.1 (210001)
actions-user Feb 8, 2024
cd3aad2
Update Dependencies (#183)
clash-meta-maintainer[bot] Feb 14, 2024
c7c13b3
update dependency (#180)
Malus-risus Feb 14, 2024
1377d42
Update Dependencies (#184)
clash-meta-maintainer[bot] Feb 18, 2024
2a2686f
Fix high-risk vulnerabilities(CIRCL's Kyber: timing side-channel (kyb…
Malus-risus Feb 20, 2024
d732895
Use CMake string(TIMESTAMP) for portable compile timestamp
xixiha5230 Feb 24, 2024
9506f50
Update Dependencies (#187)
clash-meta-maintainer[bot] Feb 24, 2024
346096a
Update Dependencies (#192)
clash-meta-maintainer[bot] Feb 25, 2024
669e644
fix: correctly convert timezone offset from Java TimeZone.getRawOffse…
shunf4 Mar 17, 2024
436f860
Merge pull request #194 from shunf4/fix/bad_tz_override
Larvan2 Mar 28, 2024
53bc1da
Merge pull request #190 from xixiha5230/patch-1
Larvan2 Mar 31, 2024
78ffee3
Update Dependencies (#193)
clash-meta-maintainer[bot] Mar 31, 2024
58d16cb
Update Dependencies (#196)
clash-meta-maintainer[bot] Apr 5, 2024
667d6b6
Update build.gradle.kts
wwqgtxx Apr 19, 2024
f0d388d
Update Dependencies (#204)
clash-meta-maintainer[bot] Apr 19, 2024
e2b1b10
Update BaseActivity.kt (#198)
Malus-risus Apr 20, 2024
1f6dbe4
ci: trigger action when PR merged
Larvan2 Apr 20, 2024
937d9c5
ci: Update dependencies & Go version
H1JK Apr 20, 2024
2419d14
Update Dependencies (#212)
clash-meta-maintainer[bot] Apr 23, 2024
ef88732
Update Dependencies (#214)
clash-meta-maintainer[bot] Apr 26, 2024
5e8d6df
Update Dependencies (#218)
clash-meta-maintainer[bot] Apr 30, 2024
5e397c2
Fix typos in README.md (#185)
Zxis233 Apr 30, 2024
e5bbbe2
fix: reject drop
Larvan2 May 3, 2024
0126d3b
Update Dependencies (#222)
clash-meta-maintainer[bot] May 10, 2024
7242f27
Update Dependencies (#228)
clash-meta-maintainer[bot] May 21, 2024
e701551
add update-go-mod-replace
wwqgtxx May 24, 2024
fa627f0
Update Dependencies (#234)
clash-meta-maintainer[bot] Jun 8, 2024
bc8c24a
fix: outbound type
xishang0128 Jun 15, 2024
8d88011
Update Dependencies (#247)
clash-meta-maintainer[bot] Jul 1, 2024
f64c4b5
Update Dependencies
clash-meta-maintainer[bot] Jul 28, 2024
e7e870a
Merge pull request #269 from MetaCubeX/update-dependencies
xishang0128 Jul 28, 2024
65bfd8a
Bump version to 2.10.2 (210002)
actions-user Jul 28, 2024
143c84d
fix: (native conn.go) `closeMatch` logic should really close all matc…
shunf4 Jul 30, 2024
904353a
Update Dependencies (#278)
clash-meta-maintainer[bot] Aug 15, 2024
2e0d02a
ci: bump go version
Larvan2 Aug 15, 2024
08f87e2
Bump version to 2.10.3 (210003)
actions-user Aug 15, 2024
a9b10ac
cleanup code
wwqgtxx Aug 27, 2024
15ef59a
Update Dependencies
clash-meta-maintainer[bot] Aug 30, 2024
26c2ece
Avoid starting foreground service repeatedly
aviraxp Aug 30, 2024
0a1406e
Merge pull request #291 from MetaCubeX/update-dependencies
xishang0128 Aug 30, 2024
fec7df0
Merge pull request #304 from aviraxp/patch-1
xishang0128 Aug 30, 2024
bacc753
feat: support external controller and its override settings
karin0 Aug 24, 2024
d62430a
Merge pull request #299 from karin0/external-controller
xishang0128 Aug 31, 2024
90f3a09
Update Dependencies (#311)
clash-meta-maintainer[bot] Aug 31, 2024
e548b93
using hub.ApplyConfig to start the external controller
wwqgtxx Aug 31, 2024
c9fa690
remove depend of gopkg.in/yaml.v2
wwqgtxx Aug 31, 2024
8c587fd
Update Dependencies
clash-meta-maintainer[bot] Sep 2, 2024
0dc2191
Merge pull request #312 from MetaCubeX/update-dependencies
xishang0128 Sep 2, 2024
4df3934
Bump version to 2.10.4 (210004)
actions-user Sep 2, 2024
158e47b
using sing-tun instead of tun2socket
wwqgtxx Sep 10, 2024
7e24d7f
Update Dependencies (#315)
clash-meta-maintainer[bot] Sep 10, 2024
c82acb3
Update Dependencies (#326)
clash-meta-maintainer[bot] Sep 10, 2024
b661d94
Migrate to gradle/actions/setup-gradle@v4 (#293)
Goooler Sep 10, 2024
9edf35c
add ipv6 support for tun
wwqgtxx Sep 11, 2024
b145913
setup grade in update-dependencies.yaml too
wwqgtxx Sep 11, 2024
a1d838a
Update Dependencies (#328)
clash-meta-maintainer[bot] Sep 11, 2024
262a6b5
remove geoip embed and sideload
wwqgtxx Sep 11, 2024
cfe71bb
remove unneeded code
wwqgtxx Sep 11, 2024
e834d67
Update Dependencies (#329)
clash-meta-maintainer[bot] Sep 11, 2024
a04c188
switch from `dhcp://system` to `system://`
wwqgtxx Sep 11, 2024
bb2c528
only apply ExternalController in Override settings (#330)
karin0 Sep 11, 2024
3cc77c7
support set tun stack
wwqgtxx Sep 11, 2024
fb1c6a2
add asn import (#333)
ForestL18 Sep 11, 2024
c6810bc
support set fake-ip-filter-mode
wwqgtxx Sep 12, 2024
8f1c235
call FreeOSMemory in forceGc
wwqgtxx Sep 12, 2024
a197f8f
patch more unsupported config
wwqgtxx Sep 12, 2024
43337ea
remove redundant 'Meta'
Larvan2 Sep 12, 2024
3ce6604
don't call provider.Suspend
wwqgtxx Sep 12, 2024
bbe9dc4
move UpdatableProvider define in here
wwqgtxx Sep 12, 2024
649201f
Update Dependencies (#332)
clash-meta-maintainer[bot] Sep 12, 2024
0e1f3f5
Bump version to 2.11.0 (211000)
actions-user Sep 12, 2024
e966e52
replace launch_name for alpha
wwqgtxx Sep 12, 2024
786ac02
Update Dependencies (#342)
clash-meta-maintainer[bot] Sep 23, 2024
309726d
Update Dependencies (#346)
clash-meta-maintainer[bot] Sep 27, 2024
e164e21
code cleanup
wwqgtxx Sep 27, 2024
36bc780
fix patchProviders works abnormally when path is empty
wwqgtxx Sep 27, 2024
e39bfe8
Update Dependencies (#354)
clash-meta-maintainer[bot] Sep 30, 2024
97f52bb
adopt `external-controller-cors`
wwqgtxx Sep 30, 2024
6122aef
Bump version to 2.11.1 (211001)
actions-user Sep 30, 2024
2ac1ade
Update Dependencies (#355)
clash-meta-maintainer[bot] Oct 1, 2024
8f8c772
Update Dependencies (#357)
clash-meta-maintainer[bot] Oct 4, 2024
aea7edd
add init log
wwqgtxx Oct 5, 2024
d79fbf2
set GIT_VERSION to core
wwqgtxx Oct 5, 2024
1430b29
Update Dependencies (#359)
clash-meta-maintainer[bot] Oct 5, 2024
54cfb54
Update Dependencies (#360)
clash-meta-maintainer[bot] Oct 5, 2024
f0f82fb
Update Dependencies (#361)
clash-meta-maintainer[bot] Oct 5, 2024
266c9da
better Version and BuildTime handle
wwqgtxx Oct 5, 2024
7b828ee
Update Dependencies (#362)
clash-meta-maintainer[bot] Oct 5, 2024
b7e4ff5
fix dnsList handle
wwqgtxx Oct 5, 2024
c39838e
Update Dependencies (#363)
clash-meta-maintainer[bot] Oct 13, 2024
f75ee05
Add Vietnamese (#367)
trinhloivn Oct 14, 2024
deeebdb
Update Dependencies (#371)
clash-meta-maintainer[bot] Nov 3, 2024
88f92dd
Bump version to 2.11.2 (211002)
actions-user Nov 3, 2024
94489d1
Update Dependencies (#384)
clash-meta-maintainer[bot] Nov 6, 2024
af2a309
Update Dependencies (#385)
clash-meta-maintainer[bot] Dec 2, 2024
6c39a89
Update Dependencies (#401)
clash-meta-maintainer[bot] Dec 6, 2024
15f283c
Update Dependencies (#405)
clash-meta-maintainer[bot] Dec 9, 2024
4b96ce2
Update Proxy.kt
xishang0128 Dec 19, 2024
754f280
Update Dependencies (#407)
clash-meta-maintainer[bot] Dec 19, 2024
c513a19
Bump version to 2.11.3 (211003)
actions-user Dec 19, 2024
94c46a0
Update Provider.kt
xishang0128 Dec 22, 2024
e15477c
Bump version to 2.11.4 (211004)
actions-user Dec 22, 2024
565d1d7
Update Dependencies (#412)
clash-meta-maintainer[bot] Dec 25, 2024
7598481
Update Dependencies (#414)
clash-meta-maintainer[bot] Dec 31, 2024
3100e17
Bump version to 2.11.5 (211005)
actions-user Dec 31, 2024
e8e0010
Update app (#428)
5ec1cff Jan 21, 2025
9fd394d
Update Dependencies (#422)
clash-meta-maintainer[bot] Jan 21, 2025
64a69e6
app: refine LogsActivity & LogcatActivity (#431)
5ec1cff Jan 22, 2025
2760de9
remove unnecessary READ_EXTERNAL_STORAGE permission (#439)
5ec1cff Feb 5, 2025
e5d8c9f
Update Dependencies (#437)
clash-meta-maintainer[bot] Feb 5, 2025
57f0434
Bump version to 2.11.6 (211006)
actions-user Feb 9, 2025
a012d81
fix build error and filter target arch (#443)
ForestL18 Feb 10, 2025
4f22a46
Update Dependencies (#441)
clash-meta-maintainer[bot] Feb 10, 2025
d8e46ae
Update Dependencies (#447)
clash-meta-maintainer[bot] Feb 18, 2025
d344cc8
Update Proxy.kt
xishang0128 Feb 18, 2025
356a845
hide update function of inline (#415)
ForestL18 Feb 19, 2025
9db73ea
fix sniffer.sniff config (#455)
ForestL18 Feb 19, 2025
a6ceb88
Update Dependencies (#454)
clash-meta-maintainer[bot] Feb 19, 2025
f444075
update go1.24
wwqgtxx Feb 19, 2025
b240eb7
Update Dependencies (#458)
clash-meta-maintainer[bot] Mar 3, 2025
effbf8f
Bump version to 2.11.7 (211007)
actions-user Mar 3, 2025
59f2a20
Update Dependencies (#470)
clash-meta-maintainer[bot] Mar 11, 2025
5816076
Update Dependencies (#471)
clash-meta-maintainer[bot] Mar 17, 2025
4e45661
handle ipv6 address's scopeId for dns server
wwqgtxx Mar 17, 2025
19cc82e
send all dns server to core
wwqgtxx Mar 17, 2025
54077cb
Update Dependencies (#477)
clash-meta-maintainer[bot] Apr 1, 2025
efb2df5
Bump version to 2.11.8 (211008)
actions-user Apr 1, 2025
6f521d5
Support hiding app icon (#492)
Goooler Apr 10, 2025
3998702
fix action
wwqgtxx Apr 10, 2025
309cc6a
Support opening from app info (#497)
Goooler Apr 17, 2025
2e852e5
Update Dependencies (#493)
clash-meta-maintainer[bot] Apr 21, 2025
ac6cfa0
Bump version to 2.11.9 (211009)
actions-user Apr 21, 2025
6a9a469
Update Dependencies (#500)
clash-meta-maintainer[bot] May 10, 2025
4bf5016
Bump version to 2.11.10 (211010)
actions-user May 10, 2025
adbc68a
Update Dependencies (#510)
clash-meta-maintainer[bot] May 13, 2025
6185338
Bump version to 2.11.11 (211011)
actions-user May 13, 2025
7178d0f
Update Dependencies (#514)
clash-meta-maintainer[bot] May 22, 2025
a59e871
Bump version to 2.11.12 (211012)
actions-user May 22, 2025
290d639
Update Dependencies (#529)
clash-meta-maintainer[bot] May 22, 2025
d4ba9fd
Update Dependencies (#530)
clash-meta-maintainer[bot] May 24, 2025
88c33b1
Update Dependencies (#533)
clash-meta-maintainer[bot] May 31, 2025
131097a
Bump version to 2.11.13 (211013)
actions-user May 31, 2025
38d0d43
Fixed the issue with decimal point in `Subscription-Userinfo` field (…
YuHuanTin Jun 20, 2025
11fe93b
Update Dependencies (#536)
clash-meta-maintainer[bot] Jun 20, 2025
253ae11
Update Dependencies (#548)
clash-meta-maintainer[bot] Jun 25, 2025
a597a46
Bump version to 2.11.14 (211014)
actions-user Jun 25, 2025
4ece5c4
show all internet accessible application packages (#559)
ayanamist Jun 29, 2025
99cbc44
allow change access packages when vpn enabled (#560)
ayanamist Jun 29, 2025
d56d56e
Update Dependencies (#551)
clash-meta-maintainer[bot] Jun 29, 2025
b2ba3cd
Update geo file after app updates (#557)
Howard20181 Jun 29, 2025
61093eb
rewrite dns notify mechanism (#558)
ayanamist Jun 29, 2025
3749da0
Update Dependencies (#563)
clash-meta-maintainer[bot] Jul 27, 2025
7d9cede
Bump version to 2.11.15 (211015)
actions-user Jul 27, 2025
734d033
add ca in build actions
wwqgtxx Aug 3, 2025
f6a4e89
update go1.25
wwqgtxx Aug 13, 2025
7a04dd0
Update Dependencies (#579)
clash-meta-maintainer[bot] Aug 27, 2025
fda769c
Bump version to 2.11.16 (211016)
actions-user Aug 27, 2025
f6f410f
chore: Changing the User-Agent used to retrieve subscription-userinfo
xishang0128 Sep 1, 2025
b0a9076
Update Dependencies (#591)
clash-meta-maintainer[bot] Sep 21, 2025
4f8f6b2
Update Dependencies (#601)
clash-meta-maintainer[bot] Sep 23, 2025
bfff0fe
Update Dependencies (#602)
clash-meta-maintainer[bot] Sep 24, 2025
f2df41f
Bump version to 2.11.17 (211017)
actions-user Sep 24, 2025
b6393f2
Update Dependencies (#604)
clash-meta-maintainer[bot] Oct 14, 2025
f846763
Bump version to 2.11.18 (211018)
actions-user Oct 14, 2025
cd9e586
follow kernel defaults when overriding dns settings
wwqgtxx Oct 28, 2025
6cf12d4
opt: fix readme.md (#627)
Ran-Mori Nov 3, 2025
06677c4
Update Dependencies (#611)
clash-meta-maintainer[bot] Nov 9, 2025
e4042d5
supports user-defined application_id/package_name (#628)
Ran-Mori Nov 9, 2025
bb3404a
Bump version to 2.11.19 (211019)
actions-user Nov 9, 2025
ed2f1d7
feat: Implement QR Coder scanner (#639)
angryLid Nov 29, 2025
15de77a
Update Dependencies (#633)
clash-meta-maintainer[bot] Dec 1, 2025
6f78f4a
Update Proxy.kt
wwqgtxx Dec 1, 2025
b93319b
Bump version to 2.11.20 (211020)
actions-user Dec 1, 2025
4496e61
Update Dependencies (#641)
clash-meta-maintainer[bot] Dec 21, 2025
9ec91ca
Bump version to 2.11.21 (211021)
actions-user Dec 21, 2025
8975459
add check-latest to setup-go action
wwqgtxx Jan 16, 2026
f99c288
Update Dependencies (#648)
clash-meta-maintainer[bot] Jan 16, 2026
fd7449e
Bump version to 2.11.22 (211022)
actions-user Jan 16, 2026
2c106d5
using mihomo's entrance for YAML package
wwqgtxx Jan 18, 2026
6969e1b
update comment in patchProviders
wwqgtxx Jan 20, 2026
cd744af
Update Dependencies (#654)
clash-meta-maintainer[bot] Feb 8, 2026
f16f13b
Update Proxy.kt
wwqgtxx Feb 8, 2026
bd04212
Bump version to 2.11.23 (211023)
actions-user Feb 8, 2026
232f318
Support hiding app from Recents screen (#663)
Goooler Feb 9, 2026
10d14f8
Remove UseZGC flag from jvmargs (#662)
Goooler Feb 9, 2026
5e7a01f
Bump NDK version to 29.0.14206865 (#667)
Goooler Feb 10, 2026
fb9ffa0
update go1.26
wwqgtxx Feb 11, 2026
5cd01b1
fix `seccomp prevented call to disallowed arm system call 422` on 32b…
wwqgtxx Feb 21, 2026
406e400
Update Proxy.kt
wwqgtxx Feb 25, 2026
83261bb
Add dynamic App Shortcuts for external automation (Tasker/Samsung Rou…
sleshep Mar 6, 2026
98d8b05
Mark MainActivity launched as singleTask (#665)
Goooler Mar 6, 2026
cc2330c
Update Dependencies (#664)
clash-meta-maintainer[bot] Mar 9, 2026
22f12b7
Bump version to 2.11.24 (211024)
actions-user Mar 9, 2026
a19e9cc
chore: Adapt the `hidden` field for proxy groups
iKira Mar 18, 2026
6a6b484
Update proxies.go
wwqgtxx Mar 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/01-bug-report-en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "[English] Bug Report"
description: "Create a report to help us debug bugs"
title: "[BUG] "
labels: ["bug"]
body:
- type: markdown
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/02-feature-request-en.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "[English] Feature Request"
description: "Create a report to help us improve"
title: "[Feature Request] "
labels: ["enhancement"]
body:
- type: markdown
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/03-bug-report-zh-cn.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "[简体中文] 错误报告"
description: "创建错误报告以帮助我们修正应用"
title: "[BUG] "
labels: ["bug"]
body:
- type: markdown
attributes:
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/04-feature-request-zh-cn.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "[简体中文] 功能请求"
description: "您希望的能够在应用中增加功能"
title: "[Feature Request] "
labels: ["enhancement"]
body:
- type: markdown
attributes:
Expand Down
33 changes: 33 additions & 0 deletions .github/patch/disable_pidfd_on_android.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
From 7115c480196f4bdcbdae5e14ebaa4510540680e9 Mon Sep 17 00:00:00 2001
From: Brad Fitzpatrick <bradfitz@tailscale.com>
Date: Tue, 27 Jan 2026 09:52:22 -0800
Subject: [PATCH] [tailscale] os: disable pidfd on Android

Updates tailscale/tailscale#13452
Updates golang/go#70508
Updates tailscale/go#99
---
src/os/pidfd_linux.go | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/src/os/pidfd_linux.go b/src/os/pidfd_linux.go
index 796d8c018c7f2a..5cdbf1175e0db5 100644
--- a/src/os/pidfd_linux.go
+++ b/src/os/pidfd_linux.go
@@ -138,6 +138,16 @@ func (p *Process) pidfdSendSignal(s syscall.Signal) error {

// pidfdWorks returns whether we can use pidfd on this system.
func pidfdWorks() bool {
+ if runtime.GOOS == "android" {
+ // Tailscale-specific workaround since https://github.com/golang/go/pull/69543/commits/aad6b3b32c81795f86bc4a9e81aad94899daf520
+ // does not solve https://github.com/golang/go/issues/69065 for Android apps using Go libraries.
+ //
+ // See: https://github.com/tailscale/tailscale/issues/13452
+ //
+ // For now (2025-04-09), we'll just disable pidfd
+ // on all Android releases.
+ return false
+ }
return checkPidfdOnce() == nil
}

56 changes: 56 additions & 0 deletions .github/patch/remove_64bits_syscall_on_32bit_linux.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Subject: [PATCH] remove 64bits syscall on 32bit linux
---
Index: src/runtime/os_linux32.go
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/src/runtime/os_linux32.go b/src/runtime/os_linux32.go
--- a/src/runtime/os_linux32.go (revision 030384681641464bf71ed16500075c458363510f)
+++ b/src/runtime/os_linux32.go (date 1771666707318)
@@ -21,14 +21,14 @@

//go:nosplit
func futex(addr unsafe.Pointer, op int32, val uint32, ts *timespec, addr2 unsafe.Pointer, val3 uint32) int32 {
- if !isFutexTime32bitOnly.Load() {
- ret := futex_time64(addr, op, val, ts, addr2, val3)
- // futex_time64 is only supported on Linux 5.0+
- if ret != -_ENOSYS {
- return ret
- }
- isFutexTime32bitOnly.Store(true)
- }
+ //if !isFutexTime32bitOnly.Load() {
+ // ret := futex_time64(addr, op, val, ts, addr2, val3)
+ // // futex_time64 is only supported on Linux 5.0+
+ // if ret != -_ENOSYS {
+ // return ret
+ // }
+ // isFutexTime32bitOnly.Store(true)
+ //}
// Downgrade ts.
var ts32 timespec32
var pts32 *timespec32
@@ -49,14 +49,14 @@

//go:nosplit
func timer_settime(timerid int32, flags int32, new, old *itimerspec) int32 {
- if !isSetTime32bitOnly.Load() {
- ret := timer_settime64(timerid, flags, new, old)
- // timer_settime64 is only supported on Linux 5.0+
- if ret != -_ENOSYS {
- return ret
- }
- isSetTime32bitOnly.Store(true)
- }
+ //if !isSetTime32bitOnly.Load() {
+ // ret := timer_settime64(timerid, flags, new, old)
+ // // timer_settime64 is only supported on Linux 5.0+
+ // if ret != -_ENOSYS {
+ // return ret
+ // }
+ // isSetTime32bitOnly.Store(true)
+ //}

var newts, oldts itimerspec32
var new32, old32 *itimerspec32
111 changes: 111 additions & 0 deletions .github/workflows/build-debug.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Build Debug
on:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:
push:
branches:
- main

jobs:
BuildDebug:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Checkout submodules
run: git submodule update --init --recursive --force

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "1.26"
check-latest: true # Always check for the latest patch release

- name: Apply Patches
run: |
cd $(go env GOROOT)
for p in $GITHUB_WORKSPACE/.github/patch/*.patch; do patch --verbose -p 1 < "$p"; done

- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Update CA
run: |
sudo apt-get update && sudo apt-get install ca-certificates
sudo update-ca-certificates
cp -f /etc/ssl/certs/ca-certificates.crt core/src/foss/golang/clash/component/ca/ca-certificates.crt

# - name: Signing properties
# env:
# SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
# SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
# SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
# run: |
# touch signing.properties
# echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
# echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
# echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties

# echo "cat signing.properties"
# cat signing.properties

- name: Build
if: success()
run: ./gradlew --no-daemon app:assembleAlphaRelease

- name: Upload Aritfact (universal)
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: CMFA Debug Unsigned APK (universal)
path: |
app/build/outputs/apk/alpha/release/*-universal-*.apk

- name: Upload Aritfact (arm64-v8a)
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: CMFA Debug Unsigned APK (arm64-v8a)
path: |
app/build/outputs/apk/alpha/release/*-arm64-v8a-*.apk

- name: Upload Aritfact (armeabi-v7a)
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: CMFA Debug Unsigned APK (armeabi-v7a)
path: |
app/build/outputs/apk/alpha/release/*-armeabi-v7a-*.apk

- name: Upload Aritfact (x86_64)
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: CMFA Debug Unsigned APK (x86_64)
path: |
app/build/outputs/apk/alpha/release/*-x86_64-*.apk

- name: Upload Aritfact (x86)
uses: actions/upload-artifact@v4
if: ${{ success() }}
with:
name: CMFA Debug Unsigned APK (x86)
path: |
app/build/outputs/apk/alpha/release/*-x86-*.apk
95 changes: 95 additions & 0 deletions .github/workflows/build-pre-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: Build Pre-Release
on:
workflow_dispatch:
push:
branches:
- main

jobs:
BuildPreRelease:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Checkout submodules
run: git submodule update --init --recursive --force

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: 21

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: "1.26"
check-latest: true # Always check for the latest patch release

- name: Apply Patches
run: |
cd $(go env GOROOT)
for p in $GITHUB_WORKSPACE/.github/patch/*.patch; do patch --verbose -p 1 < "$p"; done

- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-

- name: Update CA
run: |
sudo apt-get update && sudo apt-get install ca-certificates
sudo update-ca-certificates
cp -f /etc/ssl/certs/ca-certificates.crt core/src/foss/golang/clash/component/ca/ca-certificates.crt

- name: Signing properties
env:
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
run: |
touch signing.properties
echo keystore.password="$SIGNING_STORE_PASSWORD" > signing.properties
echo key.alias="$SIGNING_KEY_ALIAS" >> signing.properties
echo key.password="$SIGNING_KEY_PASSWORD" >> signing.properties

echo "cat signing.properties"
cat signing.properties

- name: Pre-release Build
if: success()
run: ./gradlew --no-daemon app:assembleAlphaRelease

# Delete old Prerelease-alpha
- uses: dev-drprasad/delete-tag-and-release@v1.1
with:
tag_name: Prerelease-alpha
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_release: true

- name: Tag Repo
uses: richardsimko/update-tag@v1
with:
tag_name: Prerelease-alpha
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Alpha
uses: softprops/action-gh-release@v2
if: ${{ success() }}
with:
tag_name: Prerelease-alpha
files: app/build/outputs/apk/alpha/release/*
prerelease: true
generate_release_notes: true

- name: Release Changelog Builder
uses: mikepenz/release-changelog-builder-action@v4
Loading