@echo off
set "TARGET_DIR=C:\ProgramData\Autodesk\Navisworks Manage 2026\plugins\NavisworksTransportPlugin"

if not exist "%TARGET_DIR%" mkdir "%TARGET_DIR%"

copy "bin\x64\Release\NavisworksTransportPlugin.dll" "%TARGET_DIR%\" >nul
if exist "bin\x64\Release\NavisworksTransportPlugin.name.txt" copy "bin\x64\Release\NavisworksTransportPlugin.name.txt" "%TARGET_DIR%\" >nul
if exist "bin\x64\Release\default_config.toml" copy "bin\x64\Release\default_config.toml" "%TARGET_DIR%\" >nul

echo Plugin deployed successfully!