mirror of
https://github.com/tanrax/maza-ad-blocking.git
synced 2025-11-27 12:54:35 +01:00
Warinings were added for MacOS
This commit is contained in:
@@ -119,7 +119,7 @@ Add the following line at the end.
|
|||||||
@daily maza update
|
@daily maza update
|
||||||
```
|
```
|
||||||
|
|
||||||
Some users have reported problems on MacOS while creating daemons, these can be fixed by editing crontab as below:
|
**Note for macOS users:** Cron runs with a minimal environment. You need to set the PATH to include all required binaries and `TERM=dumb` to prevent color output errors:
|
||||||
|
|
||||||
```
|
```
|
||||||
PATH=/bin:/usr/bin:/usr/local/bin:/opt/homebrew/bin
|
PATH=/bin:/usr/bin:/usr/local/bin:/opt/homebrew/bin
|
||||||
@@ -127,6 +127,12 @@ TERM=dumb
|
|||||||
@daily maza update
|
@daily maza update
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The PATH includes:
|
||||||
|
- `/bin` - bash
|
||||||
|
- `/usr/bin` - env
|
||||||
|
- `/usr/local/bin` - maza
|
||||||
|
- `/opt/homebrew/bin` - gsed (Apple Silicon) or adjust for Intel Macs if needed
|
||||||
|
|
||||||
## 🔪 Uninstall
|
## 🔪 Uninstall
|
||||||
|
|
||||||
``` bash
|
``` bash
|
||||||
|
|||||||
Reference in New Issue
Block a user