Skip to content
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

运行脚本时可选择不更新 geosite.dat 和 geoip.dat #20

Closed
CalmLong opened this issue Jul 7, 2020 · 4 comments
Closed

运行脚本时可选择不更新 geosite.dat 和 geoip.dat #20

CalmLong opened this issue Jul 7, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@CalmLong
Copy link

CalmLong commented Jul 7, 2020

如题,希望可以添加个参数能让 geosite.datgeoip.dat 不跟随 V2Ray 更新。

原因

自定义了 geosite.datgeoip.dat 并且名字也是用的 geositegeoip,使用脚本更新时会被一同覆盖。
虽然可以改名字并在配置文件中使用 ext 解决,但是这样还是会多出来两个文件并且还用不到

@CalmLong CalmLong changed the title 运行脚本时不可选择不更新 geosite.dat 和 geoip.dat 运行脚本时可选择不更新 geosite.dat 和 geoip.dat Jul 7, 2020
@ghost ghost added the enhancement New feature or request label Jul 10, 2020
@ghost
Copy link

ghost commented Jul 14, 2020

/usr/local/lib/v2ray/ 下創建一個名為 .undat 的文件,此文件存在,則腳本不更新 geoip.dat 和 geosite.dat。

這樣如何呢?

@CalmLong
Copy link
Author

可以,这样就不用指定参数了,支持~~

ghost pushed a commit that referenced this issue Jul 14, 2020
@ghost
Copy link

ghost commented Jul 14, 2020

已完成修改。

ghost pushed a commit that referenced this issue Jul 14, 2020
ghost pushed a commit that referenced this issue Jul 14, 2020
@CalmLong
Copy link
Author

感谢。已测试可用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant