refactor(flash-gui): 对齐 DLPilot 重构 GUI 并内置 OpenOCD 发布链
This commit is contained in:
@@ -3,15 +3,15 @@ cd /d "%~dp0"
|
||||
|
||||
where pyw >nul 2>nul
|
||||
if %errorlevel%==0 (
|
||||
start "" pyw -3 "daplink_flash_gui.py"
|
||||
start "" pyw -3 "src\flash_gui.py"
|
||||
exit /b
|
||||
)
|
||||
|
||||
where pythonw >nul 2>nul
|
||||
if %errorlevel%==0 (
|
||||
start "" pythonw "daplink_flash_gui.py"
|
||||
start "" pythonw "src\flash_gui.py"
|
||||
exit /b
|
||||
)
|
||||
|
||||
echo Python GUI launcher not found. Run manually: python daplink_flash_gui.py
|
||||
echo Python GUI launcher not found. Run manually: python src\flash_gui.py
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user