first commit
This commit is contained in:
18
run.sh
Normal file
18
run.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# IoT Firmware Loader - macOS/Linux launcher
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Activate virtual environment
|
||||
if [ -d "venv" ]; then
|
||||
source venv/bin/activate
|
||||
else
|
||||
echo "❌ Virtual environment not found. Creating..."
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install PyQt6 scapy requests
|
||||
fi
|
||||
|
||||
echo "🚀 Starting IoT Firmware Loader..."
|
||||
python main.py
|
||||
Reference in New Issue
Block a user