update build .exe
This commit is contained in:
11
run.sh
Normal file → Executable file
11
run.sh
Normal file → Executable file
@@ -5,14 +5,13 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
# Activate virtual environment
|
||||
if [ -d "venv" ]; then
|
||||
source venv/bin/activate
|
||||
else
|
||||
if [ ! -d "venv" ]; then
|
||||
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..."
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt --quiet
|
||||
|
||||
echo "🚀 Starting MiraV3 Firmware Loader..."
|
||||
python main.py
|
||||
|
||||
Reference in New Issue
Block a user