btclock-ota-flasher/README.md
Djuri Baars 7a6df24109 Fixes
2024-06-09 13:42:51 +02:00

729 B

BTClock OTA Flasher interface

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

pyinstaller --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers  -n BTClockOTA -i update-icon.icns --windowed app.py

Windows

pyinstaller.exe  --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers --hidden-import pyserial  -n BTClockOTA --windowed --onefile app.py 

Linux

`pyinstaller --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers  -n BTClockOTA --windowed app.py`