Specify more specific data directory

This commit is contained in:
Loyalsoldier 2020-07-17 16:35:47 +08:00 committed by GitHub
parent 1611d9196c
commit 1be8f5773f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ Each file in the `data/` directory can be used as a rule in this format: `geosit
- Install `golang` and `git`
- Download and install project code: `go get -u -v --insecure github.com/v2ray/domain-list-community`
- Generate `dlc.dat` (without `datapath` option means to use `data` directory of this project):
- Generate `dlc.dat` (without `datapath` option means to use `data` directory of this repository in `$GOPATH`):
- `$(go env GOPATH)/bin/domain-list-community`
- `$(go env GOPATH)/bin/domain-list-community --datapath=/path/to/your/custom/data/directory`