添加普冉 PY32F040 OTA 双工程代码生成模板
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
REM Pack App project into Output\app_package.zip
|
||||
REM App/ is fully self-contained (own Drivers/ + Shared/).
|
||||
REM Keep this file pure ASCII - cmd parses .bat in GBK.
|
||||
setlocal
|
||||
cd /d "%~dp0\.."
|
||||
set PY=python
|
||||
where python >nul 2>nul || set PY=py
|
||||
%PY% tools\pack.py app
|
||||
if errorlevel 1 (
|
||||
echo [ERR] pack failed - python not found in PATH?
|
||||
)
|
||||
endlocal
|
||||
Reference in New Issue
Block a user