How to build esphome-flasher by yourself

作者: shaneZhang 分类: IOT物联网 发布时间: 2021-01-11 09:02
git clone https://github.com/esphome/esphome-flasher
// install python3
pip3 install wxpython
Download the project and run pip3 install -e . in the project's root
For macOS:
pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py

For Windows:
python -m esphomeflasher.__main__
python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.ico esphomeflasher\__main__.py

Go to dist folder, check ESPHome-Flasher.exe works.

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注