diff --git a/build-instructions.md b/build-instructions.md new file mode 100644 index 0000000..1a8e049 --- /dev/null +++ b/build-instructions.md @@ -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. diff --git a/icon.icns b/icon.icns new file mode 100644 index 0000000..1a88f6f Binary files /dev/null and b/icon.icns differ diff --git a/icon.ico b/icon.ico new file mode 100644 index 0000000..88dcd7e Binary files /dev/null and b/icon.ico differ