mirror of https://github.com/Dreamacro/clash.git
Docs(script-shortcuts): add expr engine (#2757)
This commit is contained in:
parent
6b17fd2595
commit
4655bd4da8
|
@ -17,6 +17,7 @@ This feature enables the use of script in `rules` mode. By default, DNS resoluti
|
|||
mode: Rule
|
||||
|
||||
script:
|
||||
engine: expr # or starlark (10x to 20x slower)
|
||||
shortcuts:
|
||||
quic: network == 'udp' and dst_port == 443
|
||||
curl: resolve_process_name() == 'curl'
|
||||
|
|
Loading…
Reference in New Issue