Refactor: Update build scripts and improve Telnet handling in SSH flasher
This commit is contained in:
11
run.bat
11
run.bat
@@ -3,14 +3,15 @@ REM IoT Firmware Loader - Windows launcher
|
||||
|
||||
cd /d "%~dp0"
|
||||
|
||||
if exist "venv" (
|
||||
call venv\Scripts\activate.bat
|
||||
) else (
|
||||
if not exist "venv" (
|
||||
echo Creating virtual environment...
|
||||
python -m venv venv
|
||||
call venv\Scripts\activate.bat
|
||||
pip install PyQt6 scapy requests
|
||||
)
|
||||
|
||||
call venv\Scripts\activate.bat
|
||||
|
||||
echo Checking and installing required packages...
|
||||
pip install -r requirements.txt --quiet
|
||||
|
||||
echo Starting IoT Firmware Loader...
|
||||
python main.py
|
||||
|
||||
Reference in New Issue
Block a user