@echo off echo === Building AutoFax Windows Executable === echo. where python >nul 2>&1 if %errorlevel% neq 0 ( echo ERROR: Python not found. Install Python 3.10+ from python.org echo Make sure to check "Add Python to PATH" during install. pause exit /b 1 ) echo Installing build dependencies... pip install pyinstaller requests python-dotenv echo. echo Building executable... pyinstaller --onefile --windowed --name AutoFax --icon=NONE gui.py echo. if exist dist\AutoFax.exe ( echo === Build successful! === echo Executable: dist\AutoFax.exe echo. echo Copy AutoFax.exe to a flash drive and run it anywhere. echo Config and reports will be saved next to the exe. ) else ( echo Build failed. Check the output above for errors. ) pause