v1.3.13: 模块化注册架构 + PDS流程设计套件更名 + 依赖/圆周交互修复

- 模块化:EdcModule 契约 + registry + 模块独立目录;发布包增加 modules/registry.json
- 更名:PDS流程设计套件 / ProcessDesignSuite;同步构建、发布脚本与文档
- 时序图:依赖偏移以时间显示/编辑;紧贴依赖隐藏箭头并在接缝显示标签;动作条磁吸
- 圆周:依赖标签沿圆弧方向、环间空隙;动作旋转磁吸增强;短弧标签优先动作名
- 清理:release 移至源码同级(本地不入库);tool 合并到 tools;发布说明迁移 docs/release-notes
This commit is contained in:
2026-11-22 10:02:48 +08:00
parent afc4dc6dd7
commit 0a3f2c5cc6
105 changed files with 6309 additions and 3577 deletions
+16 -7
View File
@@ -1,5 +1,6 @@
@echo off
rem Build the Windows release and copy the runnable bundle to .\dist\
rem Build the Windows release and copy the runnable bundle to the shared release
rem root next to the source tree: ..\..\release\windows\ProcessDesignSuite
rem (ASCII only: .bat files are read with the OEM codepage.)
setlocal
@@ -10,11 +11,13 @@ rem NOTE: avoid `if (...)` blocks here -- %PATH% contains parentheses
rem (e.g. "Program Files (x86)") which break cmd block parsing.
set FLUTTER_BIN=D:\flutter\bin
if not exist D:\flutter\bin\flutter.bat set FLUTTER_BIN=E:\flutter\bin
if not exist E:\flutter\bin\flutter.bat set FLUTTER_BIN=E:\AiCodeGitea\ven\flutter\bin
set PATH=%FLUTTER_BIN%;%PATH%
set FLUTTER_CMAKE_PATH=
if exist D:\cmake-lv\bin\cmk2.exe set FLUTTER_CMAKE_PATH=D:\cmake-lv\bin\cmk2.exe
if exist E:\cmake-lv\bin\cmk2.exe set FLUTTER_CMAKE_PATH=E:\cmake-lv\bin\cmk2.exe
if exist E:\AiCodeGitea\ven\cmake-lv\bin\cmk2.exe set FLUTTER_CMAKE_PATH=E:\AiCodeGitea\ven\cmake-lv\bin\cmk2.exe
if "%FLUTTER_CMAKE_PATH%"=="" echo [warn] renamed CMake not found: D:\cmake-lv\bin\cmk2.exe
if "%FLUTTER_CMAKE_PATH%"=="" echo [warn] if a transparent-encryption DLP is installed, run scripts\setup-cmake.bat first.
@@ -27,15 +30,21 @@ if errorlevel 1 (
exit /b 1
)
if exist dist rmdir /s /q dist
mkdir dist
xcopy /e /i /y /q "build\windows\x64\runner\Release\*" "dist\" >nul
set "RELEASE_WINDOWS=%~dp0..\..\release\windows"
set "OUT=%RELEASE_WINDOWS%\ProcessDesignSuite"
if not exist "%RELEASE_WINDOWS%" mkdir "%RELEASE_WINDOWS%"
if exist "%OUT%" rmdir /s /q "%OUT%"
mkdir "%OUT%"
xcopy /e /i /y /q "build\windows\x64\runner\Release\*" "%OUT%\" >nul
rem Release-level module registry: visible modules/<id>/module.json next to exe.
if exist "assets\modules" xcopy /e /i /y /q "assets\modules\*" "%OUT%\modules\" >nul
rem Create an empty license folder next to the exe and copy ONLY *.lic files.
rem IMPORTANT: never ship any documentation (the algorithm must stay private).
if not exist "dist\license" mkdir "dist\license"
if exist "license\*.lic" xcopy /y /q "license\*.lic" "dist\license\" >nul
if not exist "%OUT%\license" mkdir "%OUT%\license"
if exist "license\*.lic" xcopy /y /q "license\*.lic" "%OUT%\license\" >nul
echo.
echo Build OK: dist\sequence_diagram.exe
echo Build OK: %OUT%\ProcessDesignSuite.exe
endlocal