README.md
author KrzGalcz <k.galczynski@eyeo.com>
Wed, 13 Nov 2024 15:09:55 +0100
changeset 25711 2bb339143f01
parent 25707 2a19e3a985b6
child 25717 b6fa5201d082
permissions -rw-r--r--
Added OS specific code and performance improvements

# Exceptionrules

This is a project which contains filter rules in order for Acceptable Ads program to work

***IMPORTANT:*** After cloning the project, you need to run the following command in order to add the pre-commit hook:

## Windows
Windows: turn on Developer Mode is settings->system->for developers and run 
```sh
export MSYS=winsymlinks:nativestrict
```

```sh
wsl --update
```

```sh
wsl --install -d Ubuntu-24.04
```

```sh
 wsl -s Ubuntu-24.04
```

```sh
wsl sudo apt update
```

```sh
wsl sudo apt install jq 
```

```sh
ln -s -f "$(pwd)/pre-commit-src/pre-commit" "$(pwd)/.git/hooks/pre-commit"
```

When you add files/change their names remember to add it to template files and inform AFB team.

MAC update bash `brew install bash`