How to build esphome-flasher by yourself
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.