From 4b3c20a4f73f78059765694cf9090cfbc31fd8e1 Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Thu, 19 Mar 2026 09:45:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E7=BD=B2=E8=84=9A?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy-plugin.bat | 15 +++++++++------ doc/requirement/todo_features.md | 4 ++++ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/deploy-plugin.bat b/deploy-plugin.bat index 55e87ff..1cce12f 100644 --- a/deploy-plugin.bat +++ b/deploy-plugin.bat @@ -1,6 +1,7 @@ @echo off +setlocal -:: 如果 Navisworks 正在运行,关闭它以释放 DLL 锁定 +:: Stop Navisworks to release locked plugin DLLs. taskkill /F /IM Roamer.exe 2>nul if %errorlevel% == 0 ( echo Navisworks process terminated. @@ -8,16 +9,18 @@ if %errorlevel% == 0 ( ) set "TARGET_DIR=%PROGRAMDATA%\Autodesk\Navisworks Manage 2026\plugins\TransportPlugin" +set "BUILD_DIR=bin\x64\Release" if not exist "%TARGET_DIR%" mkdir "%TARGET_DIR%" -copy "bin\x64\Release\TransportPlugin.dll" "%TARGET_DIR%\" >nul +copy "%BUILD_DIR%\*.dll" "%TARGET_DIR%\" >nul +echo Plugin DLLs deployed. -:: 复制resources文件夹(包含chart.js等本地资源) -if exist "bin\x64\Release\resources" ( +:: Copy bundled resources. +if exist "%BUILD_DIR%\resources" ( if not exist "%TARGET_DIR%\resources" mkdir "%TARGET_DIR%\resources" - copy "bin\x64\Release\resources\*" "%TARGET_DIR%\resources\" >nul + xcopy "%BUILD_DIR%\resources\*" "%TARGET_DIR%\resources\" /E /I /Y /Q >nul echo Resources folder deployed. ) -echo Plugin deployed successfully! \ No newline at end of file +echo Plugin deployed successfully! diff --git a/doc/requirement/todo_features.md b/doc/requirement/todo_features.md index e7a8cce..17d59b3 100644 --- a/doc/requirement/todo_features.md +++ b/doc/requirement/todo_features.md @@ -2,6 +2,10 @@ ## 功能点 +### [2026/3/18] + +1. [x](功能)增加轨上路径(角度可倾斜) + ### [2026/3/11] 1. [x] (功能)给“导出剖面盒”增加导出nwd文件的选项