Add build instructions

This commit is contained in:
Otto Winter 2019-06-09 16:14:52 +02:00
parent c967cf2b79
commit c3541a9ba0
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
3 changed files with 13 additions and 0 deletions

13
build-instructions.md Normal file
View 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.

BIN
icon.icns Normal file

Binary file not shown.

BIN
icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB