Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

guard windows cli dll staging

louis030195fd3838189cc7
diff --git a/.github/workflows/windows-integration-test.yml b/.github/workflows/windows-integration-test.yml
index c48f34343..b89b276c5 100644
--- a/.github/workflows/windows-integration-test.yml
+++ b/.github/workflows/windows-integration-test.yml
@@ -122,14 +122,23 @@ jobs:
} else {
".\target\release\screenpipe.exe"
}
+ $binDir = Split-Path $exePath
# Copy onnxruntime.dll next to the binary
$ortDll = "apps\screenpipe-app-tauri\src-tauri\onnxruntime-win-x64-1.22.0\lib\onnxruntime.dll"
if (Test-Path $ortDll) {
- Copy-Item $ortDll (Split-Path $exePath) -Force
+ $ortDestination = Join-Path $binDir (Split-Path $ortDll -Leaf)
+ if ([System.IO.Path]::GetFullPath($ortDll) -ne [System.IO.Path]::GetFullPath($ortDestination)) {
+ Copy-Item $ortDll $binDir -Force
+ }
}
$openblasBin = "apps\screenpipe-app-tauri\src-tauri\openblas\bin"
if (Test-Path $openblasBin) {
- Copy-Item "$openblasBin\*.dll" (Split-Path $exePath) -Force
+ Get-ChildItem "$openblasBin\*.dll" | ForEach-Object {
+ $openblasDestination = Join-Path $binDir $_.Name
+ if ([System.IO.Path]::GetFullPath($_.FullName) -ne [System.IO.Path]::GetFullPath($openblasDestination)) {
+ Copy-Item $_.FullName $binDir -Force
+ }
+ }
}
$process = Start-Process -FilePath $exePath -ArgumentList "--debug" -PassThru -RedirectStandardOutput "screenpipe_output.log" -RedirectStandardError "screenpipe_error.log" -NoNewWindow
Start-Sleep -Seconds 10