Add instructions for Windows users

This commit is contained in:
quindecim 2022-11-16 01:25:32 +01:00
parent 624ec9cfce
commit 9486a0c7a8
2 changed files with 8 additions and 1 deletions

View File

@ -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
```

View File

@ -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