mirror of
https://github.com/esphome/esphome-flasher.git
synced 2024-11-28 12:56:08 +01:00
14 lines
450 B
Markdown
14 lines
450 B
Markdown
|
# macOS
|
||
|
|
||
|
`pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py`
|
||
|
|
||
|
# Windows
|
||
|
|
||
|
1. Start up VM
|
||
|
2. Install Python (3) from App Store
|
||
|
3. Download esphome-flasher from GitHub
|
||
|
4. `pip install -e.` and `pip install pyinstaller`
|
||
|
5. Check with `python -m esphomeflasher.__main__`
|
||
|
6. `python -m PyInstaller.__main__ -F -w -n ESPHome-Flasher -i icon.ico esphomeflasher\__main__.py`
|
||
|
7. Go to `dist` folder, check ESPHome-Flasher.exe works.
|