-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add CLASH_META_SUPPORTED_RULE #255
Conversation
✅ Deploy Preview for surgio-documentation ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #255 +/- ##
=======================================
Coverage 76.60% 76.60%
=======================================
Files 62 62
Lines 2347 2347
Branches 584 584
=======================================
Hits 1798 1798
Misses 359 359
Partials 190 190 ☔ View full report in Codecov by Sentry. |
@geekdada 看看是给clash.meta一个单独的filter还是继续沿用clash ? |
感谢贡献代码! 我觉得目前版本使用单独 filter 比较合适,下个大版本再考虑将 meta 作为默认引擎。另外我还有个想法,除了提供单独的 filter,还可以在模板引擎 |
我配置 Code Reviewers 自动分配,今后不会没人理了…… |
嗯,确实这样感觉是最好的方案。 |
那麻烦你新增一个 filter |
10508d9
to
4e6f600
Compare
已修改 |
@@ -28,6 +28,37 @@ export const CLASH_SUPPORTED_RULE = [ | |||
'PROCESS-NAME', | |||
] as const | |||
|
|||
// CLASH_META_SUPPORTED_RULE generate by `curl -sf https://raw.githubusercontent.com/MetaCubeX/mihomo/Meta/rules/parser.go | grep case | sed 's/://' | sed 's/case//' | tr '\n' ',' | python3 -c 'print(eval(input()))' | sed 's/, / \n/g' | sed 's/[()]//' | sed 's/[ ]*$/,/'` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
非常棒
close #254
从
在 clash core 消失的情况下以 meta 作为继任者
的角度,直接修改我认为还算合理