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

17 lines
426 B
Bash

#!/bin/bash
echo "Building executable for Linux/macOS..."
# Check if pyinstaller is installed
if ! python -c "import pyinstaller" &> /dev/null; then
echo "PyInstaller not found. Please install it first using:"
echo "pip install -r requirements.txt"
exit 1
fi
pyinstaller --name OpenPortKiller --onefile --windowed --icon=NONE main.py
echo ""
echo "Build complete. Executable is located in the 'dist' folder."