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

fix: bundle vcruntime DLLs in CLI Windows package

Louis Beaumontf6a6e9e8c7a4
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index 052758b81..bf22773bf 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -311,6 +311,10 @@ jobs:
New-Item -Path "$packageDir/bin" -ItemType Directory -Force
Copy-Item "target/x86_64-pc-windows-msvc/release/screenpipe.exe" "$packageDir/bin/"
Copy-Item "target/x86_64-pc-windows-msvc/release/onnxruntime.dll" "$packageDir/bin/"
+ # Bundle vcruntime DLLs so users don't need MSVC redistributable installed
+ Copy-Item C:\Windows\System32\vcruntime140.dll "$packageDir/bin/" -Force
+ Copy-Item C:\Windows\System32\vcruntime140_1.dll "$packageDir/bin/" -Force -ErrorAction SilentlyContinue
+ Copy-Item C:\Windows\System32\msvcp140.dll "$packageDir/bin/" -Force -ErrorAction SilentlyContinue
7z a "$packageDir.zip" "./$packageDir/*"
- name: Calculate SHA256