+Update
This commit is contained in:
17
build.bat
Normal file
17
build.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
@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
|
Reference in New Issue
Block a user