mirror of
https://github.com/esphome/esphome-flasher.git
synced 2024-11-24 12:16:45 +01:00
Add build instructions
This commit is contained in:
parent
c967cf2b79
commit
c3541a9ba0
13
build-instructions.md
Normal file
13
build-instructions.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 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.
|
Loading…
Reference in New Issue
Block a user