2024-05-19 09:54:40 +00:00
|
|
|
# BTClock OTA Flasher interface
|
|
|
|
|
2024-06-09 21:06:53 +00:00
|
|
|
![Screenshot Windows](screenshot-win.webp)
|
|
|
|
![Screenshot Mac](screenshot-mac.webp)
|
|
|
|
|
2024-05-19 09:54:40 +00:00
|
|
|
## Instructions
|
|
|
|
- Make sure you have Python (tested with Python 3.12)
|
|
|
|
- Run `pip3 install -r requirements.txt`
|
|
|
|
- Run `python3 app.py`
|
|
|
|
- Profit
|
|
|
|
|
2024-06-09 11:18:14 +00:00
|
|
|
## 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
|
|
|
|
|
|
|
|
````
|
2024-06-09 21:06:53 +00:00
|
|
|
pyinstaller.exe BTClockOTA.spec
|
2024-06-09 11:18:14 +00:00
|
|
|
````
|
|
|
|
|
|
|
|
### Linux
|
|
|
|
|
|
|
|
````
|
|
|
|
`pyinstaller --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers -n BTClockOTA --windowed app.py`
|
|
|
|
````
|