We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
例如自定义运营商,如果只设置一个中国列表没问题。 但同时设置中国和Google两个运营商列表时,一旦其中一个更新成功但另一个失败,最后会导致所有旧规则列表都被删除。 建议备注使用 “IKUAI_BYPASS-中国”、“IKUAI_BYPASS-Google”这种形式区分是否删除旧列表
The text was updated successfully, but these errors were encountered:
感谢建议,因为没遇到过单条记录更新失败的情况,所以忽视了这个可能存在的问题。
后面会考虑在配置文件中单独配置备注名称的方式来处理。
Sorry, something went wrong.
修改了一下 备注名称为 IKUAI_BYPASS_<tag> 同时配置文件内增加了一条配置参数。如果tag为空则默认使用 运营商名称name 或者wan口名称interface
IKUAI_BYPASS_<tag>
name
interface
-r clean 默认增加一个辅助参数 -tag 默认为 cleanAll,也可以删除指定备注名称(或者后缀)的规则
-r clean
-tag
同时,新版使用之前,需要运行一次
./ikuai-bypass -c /路径/config.yml -r clean -tag cleanAll
目前初步测试了一下没问题,稍后我会推送一个新版上来。
- 2023-02-1 优化清理模式的提示信息,增加once或 1模式等同于nocron模式
once
1
a59004d
- 2023-02-1 某一分组规则更新失败导致相关的旧规则被删除的bug [#3](#3) - 2023-02-1 清理模式增加附加参数`-tag` 可以清理全部备注名包含`IKUAI_BYPASS`的分流规则,或者指定备注名全程或者后缀名的分流规则 - 旧版记录参考 commit信息
No branches or pull requests
例如自定义运营商,如果只设置一个中国列表没问题。
但同时设置中国和Google两个运营商列表时,一旦其中一个更新成功但另一个失败,最后会导致所有旧规则列表都被删除。
建议备注使用 “IKUAI_BYPASS-中国”、“IKUAI_BYPASS-Google”这种形式区分是否删除旧列表
The text was updated successfully, but these errors were encountered: