Routing: Add Android process finder

This commit is contained in:
Fangliding
2026-06-23 20:02:59 +08:00
parent 038bf3123a
commit bbb6826bb5
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -205,6 +205,8 @@ Example:
If the connection originates from the local machine, match its process. If not from local, it is directly regarded as a match failure. Only supports Windows and Linux.
In particular, on Android the client app needs to call `github.com/xtls/xray-core/common/net.RegisterAndroidProcessFinder()` to inject the finder provided by the Android API. This hook can customize the string returned to the core, enabling features such as app matching.
This option is an array, where each item has three matching modes.
1. **No slash**: Matches process name.