Skip to content

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

fix(release): the Store manifest is written through .NET, so the Windows build finishes

Jareer4b154cdf7c99
diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml
index fa64734c..3b3e6b69 100644
--- a/.github/workflows/build-app.yml
+++ b/.github/workflows/build-app.yml
@@ -758,7 +758,9 @@ jobs:
foreach ($word in $fill.Keys) {
$manifest = $manifest.Replace($word, [Security.SecurityElement]::Escape($fill[$word]))
}
- Set-Content -Encoding utf8 -NoNewline "$pack\AppxManifest.xml" $manifest
+ # Through .NET, not Set-Content: on the runner Set-Content refused
+ # -Encoding, which failed the v0.2.6 build. UTF-8 with no BOM.
+ [IO.File]::WriteAllText("$pack\AppxManifest.xml", $manifest, [Text.UTF8Encoding]::new($false))
New-Item -ItemType Directory -Force store | Out-Null
& $makeappx.FullName pack /o /d $pack /p "store\$name.msix"
if ($LASTEXITCODE -ne 0) { throw "makeappx failed with $LASTEXITCODE" }