diff --git a/build-instructions.md b/build-instructions.md index 1a8e049..4ae5125 100644 --- a/build-instructions.md +++ b/build-instructions.md @@ -1,13 +1,11 @@ -# macOS +# Linux / macOS -`pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py` + * `pip install -r requirements_build.txt` + * `pyinstaller -F -w -n FujiNet-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. + * `pip install pyinstaller` + * `pip install -r requirements_build.txt` + * `pip install -e.` + * `python -m PyInstaller.__main__ -F -w -n FujiNet-Flasher -i icon.ico esphomeflasher\__main__.py` diff --git a/requirements_build.txt b/requirements_build.txt index 2f96553..3bc31b6 100644 --- a/requirements_build.txt +++ b/requirements_build.txt @@ -3,6 +3,7 @@ wheel wxpython==4.1.1 esptool==3.0 requests>=2.24.0,<3 -pyinstaller>=4.5.1,<5 +pyinstaller==4.10 +pyinstaller-hooks-contrib==2023.2 certifi cryptography>=3.4.8 \ No newline at end of file