+Update
This commit is contained in:
16
build.sh
Normal file
16
build.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
#!/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."
|
Reference in New Issue
Block a user