Files
OpenPortKiller/build.bat
2025-10-04 20:32:22 +02:00

18 lines
425 B
Batchfile

@echo off
echo Building executable for Windows...
REM Check if pyinstaller is installed
python -c "import pyinstaller" 2>nul
if %errorlevel% neq 0 (
echo PyInstaller not found. Please install it first using:
echo pip install -r requirements.txt
exit /b 1
)
pyinstaller --name OpenPortKiller --onefile --windowed --icon=NONE main.py
echo.
echo Build complete. Executable is located in the 'dist' folder.
pause