Refactor: Update build scripts and improve Telnet handling in SSH flasher
This commit is contained in:
@@ -22,12 +22,12 @@ call venv\Scripts\activate.bat
|
||||
|
||||
REM 3. Cai dependencies + PyInstaller
|
||||
echo [2/4] Installing dependencies...
|
||||
pip install PyQt6 scapy requests pyinstaller --quiet
|
||||
pip install -r requirements.txt pyinstaller --quiet
|
||||
|
||||
REM 4. Build .exe
|
||||
echo [3/4] Building executable...
|
||||
pyinstaller ^
|
||||
--name "MiraV3_Firmware_Loader" ^
|
||||
--name "Mira_Firmware_Loader_v1.1.0" ^
|
||||
--icon "icon.ico" ^
|
||||
--add-data "icon.ico;." ^
|
||||
--onefile ^
|
||||
@@ -47,11 +47,11 @@ echo.
|
||||
echo [4/4] Build complete!
|
||||
echo.
|
||||
|
||||
if exist "dist\MiraV3_Firmware_Loader.exe" (
|
||||
echo ✅ SUCCESS: dist\MiraV3_Firmware_Loader.exe
|
||||
if exist "dist\Mira_Firmware_Loader_v1.1.0.exe" (
|
||||
echo SUCCESS: dist\Mira_Firmware_Loader_v1.1.0.exe
|
||||
echo.
|
||||
echo File size:
|
||||
for %%A in ("dist\MiraV3_Firmware_Loader.exe") do echo %%~zA bytes
|
||||
for %%A in ("dist\Mira_Firmware_Loader_v1.1.0.exe") do echo %%~zA bytes
|
||||
echo.
|
||||
echo Ban co the copy file .exe nay sang may khac va chay truc tiep.
|
||||
) else (
|
||||
|
||||
Reference in New Issue
Block a user