Refactor: Update build scripts and improve Telnet handling in SSH flasher

This commit is contained in:
2026-03-08 17:08:38 +07:00
parent ef363ac61d
commit 1c1fbb7f92
5 changed files with 48 additions and 14 deletions

11
run.bat
View File

@@ -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