mirror of https://github.com/d3cim/block.git
Add instructions for Windows users
This commit is contained in:
parent
624ec9cfce
commit
9486a0c7a8
|
@ -52,7 +52,13 @@ domains-allowlist.txt | quindecim | Legit domains collection. | [LINK](https://g
|
|||
## Build
|
||||
|
||||
To generate your own list you can clone this repo, move into the `config` folder, edit files according to your needs and run this command:
|
||||
|
||||
#### Linux
|
||||
```
|
||||
python3 generate-domains-blocklist.py > list.txt.tmp && mv -f list.txt.tmp list
|
||||
```
|
||||
#### Windows
|
||||
```
|
||||
py generate-domains-blocklist.py > list.txt
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#! /usr/bin/env python3
|
||||
|
||||
# run with python3 generate-domains-blocklist.py > list.txt.tmp && mv -f list.txt.tmp list
|
||||
# Linux, run with: python3 generate-domains-blocklist.py > list.txt.tmp && mv -f list.txt.tmp list
|
||||
# Windows, run with: py generate-domains-blocklist.py > list.txt
|
||||
|
||||
import argparse
|
||||
import re
|
||||
|
|
Loading…
Reference in New Issue