docs: package EM observation dashboard
This commit is contained in:
@@ -47,6 +47,10 @@ if (Test-SamePath $outputDirectoryPath $workspaceRoot) {
|
||||
if (-not [System.IO.File]::Exists($managedDllPath)) {
|
||||
throw "Managed DLL does not exist: $managedDllPath"
|
||||
}
|
||||
$visualizationDll = Join-Path ([System.IO.Path]::GetDirectoryName($managedDllPath)) 'TrajectoryPlanningVisualization.dll'
|
||||
if (-not [System.IO.File]::Exists($visualizationDll)) {
|
||||
throw "Visualization DLL does not exist beside managed DLL: $visualizationDll"
|
||||
}
|
||||
if (-not [System.Environment]::Is64BitProcess) {
|
||||
throw 'Refusing to publish from a non-x64 PowerShell host.'
|
||||
}
|
||||
@@ -89,6 +93,7 @@ $movedExistingPlugins = $false
|
||||
try {
|
||||
[System.IO.Directory]::CreateDirectory((Join-Path $stagingDirectory 'licenses')) | Out-Null
|
||||
[System.IO.File]::Copy($managedDllPath, (Join-Path $stagingDirectory 'ClumsyPilot.dll'), $false)
|
||||
[System.IO.File]::Copy($visualizationDll, (Join-Path $stagingDirectory 'TrajectoryPlanningVisualization.dll'), $false)
|
||||
[System.IO.File]::Copy($nativeDll, (Join-Path $stagingDirectory 'osqp.dll'), $false)
|
||||
[System.IO.File]::Copy($license, (Join-Path $stagingDirectory 'licenses\OSQP-LICENSE.txt'), $false)
|
||||
[System.IO.File]::Copy($notice, (Join-Path $stagingDirectory 'licenses\OSQP-NOTICE.txt'), $false)
|
||||
|
||||
Reference in New Issue
Block a user