@echo off
chcp 65001 >nul
cd /d "%~dp0"

if not exist "dist\Tamer SEO Analyzer.exe" (
    echo Once build_windows.bat calistirin.
    pause
    exit /b 1
)

if not exist release mkdir release
powershell -NoProfile -ExecutionPolicy Bypass -Command "Compress-Archive -Path 'dist\*' -DestinationPath 'release\Tamer_SEO_Analyzer_V1.4.2_Portable.zip' -Force"

echo Portable ZIP hazir: release\Tamer_SEO_Analyzer_V1.4.2_Portable.zip
pause
