commit
8774fd9604
@ -1,2 +1,31 @@
|
|||||||
|
## Setup
|
||||||
|
|
||||||
|
`cd` into repo dir
|
||||||
|
|
||||||
|
```
|
||||||
|
python3 -m venv ~/elgato_env
|
||||||
|
source ~/elgato_env/bin/activate
|
||||||
|
pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
for `darkmode` script
|
||||||
|
|
||||||
|
```
|
||||||
|
brew install brightness
|
||||||
|
brew install smudge/smudge/nightlight
|
||||||
|
```
|
||||||
|
|
||||||
|
Download https://github.com/jenghis/nshift
|
||||||
|
|
||||||
|
## Compile
|
||||||
|
|
||||||
|
```
|
||||||
source ~/elgato_env/bin/activate
|
source ~/elgato_env/bin/activate
|
||||||
pyinstaller -F --paths=~/Desktop/ elgato.py
|
pyinstaller -F --paths=~/Desktop/ elgato.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Execution
|
||||||
|
|
||||||
|
```
|
||||||
|
~/Documents/elgato/dist/elgato 192.168.1.2 192.168.1.4 day
|
||||||
|
```
|
||||||
Loading…
Reference in new issue