25 lines
499 B
Markdown
25 lines
499 B
Markdown
# screen_status_to_mqtt
|
|
|
|
### Build:
|
|
```powershell
|
|
pyinstaller.exe -F -n ScreenStatusToMQTT --hidden-import=win32timezone --paths .\venv\Lib\site-packages\ .\main.py
|
|
```
|
|
|
|
### Install
|
|
|
|
Copy `build/ScreenStatusToMQTT.exe` to `C:\Program Files\ScreenStatusToMQTT`
|
|
|
|
In powershell as admin:
|
|
```powershell
|
|
# Install autostart
|
|
.\ScreenStatusToMQTT.exe --startup auto install
|
|
|
|
# Start it
|
|
.\ScreenStatusToMQTT.exe start
|
|
|
|
# Stop it
|
|
.\ScreenStatusToMQTT.exe stop
|
|
|
|
# Uninstall
|
|
.\ScreenStatusToMQTT.exe remove
|
|
``` |