Files
soundshot/flash_tool/build_from_spec.bat
2025-10-13 18:54:50 -05:00

24 lines
516 B
Batchfile

@echo off
echo === ESP32 Flasher - Windows Build Script ===
echo.
echo Installing dependencies...
pip install pyinstaller esptool pyserial
echo.
echo Building Windows executable...
pyinstaller ESP32_Flasher_Windows.spec
echo.
if exist "dist\ESP32_Flasher.exe" (
echo Build complete!
echo.
echo Executable created at: dist\ESP32_Flasher.exe
echo.
echo You can now distribute ESP32_Flasher.exe to users.
) else (
echo Build failed - executable not found in dist folder
exit /b 1
)
pause