mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-12-28 05:34:12 +08:00
Update generate-rules-dat.sh
This commit is contained in:
parent
5840608a27
commit
414e79aaa4
@ -29,13 +29,13 @@ cd $GOPATH/src/$GEOSITE_REPO
|
||||
|
||||
echo -e "${GREEN}>>> generating GFWList...${NC}"
|
||||
curl -sSL $getGFWLIST_SCRIPT \
|
||||
| bash -s -- -l -o $GOPATH/src/$GEOSITE_REPO/data/gfwlist
|
||||
| bash -s -- -l -o ./data/gfwlist
|
||||
echo -e "${GREEN}>>> Finished GFWList ${NC}"
|
||||
|
||||
echo -e "${GREEN}>>> generating Chinese domains list...${NC}"
|
||||
curl -sSL $CHINA_DOMAINS_URL \
|
||||
| awk -F '/' '{print $2}' \
|
||||
> $GOPATH/src/$GEOSITE_REPO/data/chinalist
|
||||
> ./data/chinalist
|
||||
echo -e "${GREEN}>>> Finished Chinalist ${NC}"
|
||||
|
||||
echo -e "${GREEN}>>> building geosite.dat file...${NC}"
|
||||
@ -43,4 +43,10 @@ go run main.go
|
||||
mv dlc.dat $V2RAY_FOLDER/geosite.dat
|
||||
echo -e "${GREEN}>>> Finished geosite.dat ${NC}"
|
||||
|
||||
echo ">>>>>>>>>>>>>>>>>>>>>>>>"
|
||||
ls -lah ./data
|
||||
echo ">>>>>>>>>>>>>>>>>>>>>>>>"
|
||||
ls -lah $V2RAY_FOLDER
|
||||
echo ">>>>>>>>>>>>>>>>>>>>>>>>"
|
||||
|
||||
echo -e "${GREEN}完成啦!🌈${NC}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user