ota-flasher/README.md
2024-06-09 23:06:53 +02:00

30 lines
No EOL
675 B
Markdown

# BTClock OTA Flasher interface
![Screenshot Windows](screenshot-win.webp)
![Screenshot Mac](screenshot-mac.webp)
## Instructions
- Make sure you have Python (tested with Python 3.12)
- Run `pip3 install -r requirements.txt`
- Run `python3 app.py`
- Profit
## Bundle with PyInstaller
### macOS
```shell
pyinstaller --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers -n BTClockOTA -i update-icon.icns --windowed app.py
````
### Windows
````
pyinstaller.exe BTClockOTA.spec
````
### Linux
````
`pyinstaller --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers -n BTClockOTA --windowed app.py`
````