@echo off
chcp 65001 >nul
echo ========================================
echo Δημιουργία FuelContractApp_Parga_v2.exe
echo ========================================
where python >nul 2>nul
if errorlevel 1 (
    echo Δεν βρέθηκε Python. Εγκατέστησε Python και βάλε τικ στο Add python.exe to PATH.
    pause
    exit /b
)
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m PyInstaller FuelContractApp_Parga_v2.spec --clean --noconfirm
echo.
echo Ετοιμο: dist\FuelContractApp_Parga_v2.exe
pause
