Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

fix(release): the Linux and macOS smoke scripts can run, and a Windows on ARM build is not failed by its LLVM installer

Jareerb161c1d33afb
diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml
index 53365a91..45454027 100644
--- a/.github/workflows/build-app.yml
+++ b/.github/workflows/build-app.yml
@@ -346,7 +346,11 @@ jobs:
if ($LASTEXITCODE -ne 0) { throw "the LLVM download failed" }
Start-Process -Wait -FilePath .\llvm.exe -ArgumentList "/S", "/D=C:\llvm"
if (-not (Test-Path C:\llvm\bin\libclang.dll)) { throw "LLVM did not install to C:\llvm" }
- Remove-Item llvm.exe
+ # The installer is not needed once LLVM is in place. On Windows on
+ # ARM it can still hold its own file open after it returns, which
+ # turned the deletion into the step's failure in v0.2.7-rc.1; a
+ # left-over installer in the workspace harms nothing.
+ Remove-Item llvm.exe -ErrorAction SilentlyContinue
if ("${{ matrix.arch }}" -eq "aarch64") {
"CC=clang-cl" | Out-File -FilePath $env:GITHUB_ENV -Append
"CXX=clang-cl" | Out-File -FilePath $env:GITHUB_ENV -Append
diff --git a/scripts/ci/smoke-linux.sh b/scripts/ci/smoke-linux.sh
old mode 100644
new mode 100755
diff --git a/scripts/ci/smoke-macos.sh b/scripts/ci/smoke-macos.sh
old mode 100644
new mode 100755