Skip to content

Text to motion graphics for Claude Code and Codex: write a brief, get a checked MP4. 30 art forms from claymation and paper cut-out to anime and pixel art, 2D explainers, Shorts, 3D products. Installs brief2motion for websites. MIT.

fix(edit): convert paths for Git for Windows' MSYS gpg; licence is MIT or Apache-2.0

Varun Pratap Bhardwaj19b877b1ceb1
diff --git a/plugin/skills/brief2mp4/edit/install_edit.ps1 b/plugin/skills/brief2mp4/edit/install_edit.ps1
index 9b037cb..7341ad6 100644
--- a/plugin/skills/brief2mp4/edit/install_edit.ps1
+++ b/plugin/skills/brief2mp4/edit/install_edit.ps1
@@ -6,7 +6,7 @@
# powershell -ExecutionPolicy Bypass -File install_edit.ps1 -Uninstall # remove what this installer created
# powershell -ExecutionPolicy Bypass -File install_edit.ps1 -Uninstall -Components photo
#
-# Components (free ArtCraft apps by storytold, Apache-2.0, pinned in versions.json)
+# Components (free ArtCraft apps by storytold, MIT or Apache-2.0, pinned in versions.json)
# film FilmCraft, sound SoundCraft, effect EffectCraft, photo PhotoCraft, vector VectorCraft
#
# Each download is checked against the release's SHA256SUMS.txt and the hash pinned in versions.json.
@@ -118,12 +118,14 @@ function Test-Signature([string]$dir, [string]$fingerprint) {
$gh = Join-Path ([System.IO.Path]::GetTempPath()) ("b2m-" + [guid]::NewGuid().ToString("N").Substring(0, 8))
New-Item -ItemType Directory -Force -Path $gh | Out-Null
try {
- # Forward slashes work for both Gpg4win and the MSYS gpg that ships with Git for Windows; a
- # backslash GNUPGHOME is not understood by the MSYS build. --homedir avoids the environment entirely.
- $home2 = $gh -replace '\\', '/'
- $key = (Join-Path $dir "release-signing-key.asc") -replace '\\', '/'
- $sig = (Join-Path $dir "SHA256SUMS.txt.asc") -replace '\\', '/'
- $sums = (Join-Path $dir "SHA256SUMS.txt") -replace '\\', '/'
+ # Git for Windows ships an MSYS build of gpg that reads C:\x\y as a relative path and wants /c/x/y.
+ # Gpg4win (native) wants ordinary Windows paths. Convert to whichever this gpg understands.
+ $msys = $gpg.Source -match '\\usr\\bin\\gpg(\.exe)?$'
+ $conv = { param([string]$p) if ($msys -and $p -match '^([A-Za-z]):[\\/](.*)$') { "/" + $Matches[1].ToLowerInvariant() + "/" + ($Matches[2] -replace '\\', '/') } else { $p } }
+ $home2 = & $conv $gh
+ $key = & $conv (Join-Path $dir "release-signing-key.asc")
+ $sig = & $conv (Join-Path $dir "SHA256SUMS.txt.asc")
+ $sums = & $conv (Join-Path $dir "SHA256SUMS.txt")
$imp = Invoke-Native $gpg.Source @("--homedir", $home2, "--batch", "--quiet", "--import", $key)
$ver = Invoke-Native $gpg.Source @("--homedir", $home2, "--batch", "--status-fd", "1", "--verify", $sig, $sums)
$ok = $ver.Output -split "`n" | Where-Object { $_ -like "*VALIDSIG *" -and ($_.Trim() -split " ")[-1] -eq $fingerprint }
@@ -246,7 +248,7 @@ if (-not $DryRun) {
New-Item -ItemType Directory -Force -Path $stage | Out-Null
}
try {
- Write-Output "brief2mp4 edit pack: ArtCraft apps by storytold (Apache-2.0), alpha software, versions pinned in versions.json"
+ Write-Output "brief2mp4 edit pack: ArtCraft apps by storytold (MIT or Apache-2.0), alpha software, versions pinned in versions.json"
foreach ($app in $wanted) { Install-App $app $plat $stage }
if (-not $DryRun) {
Copy-SupportFiles
diff --git a/plugin/skills/brief2mp4/edit/install_edit.sh b/plugin/skills/brief2mp4/edit/install_edit.sh
index b00c9f1..51455a6 100755
--- a/plugin/skills/brief2mp4/edit/install_edit.sh
+++ b/plugin/skills/brief2mp4/edit/install_edit.sh
@@ -7,7 +7,7 @@
# bash install_edit.sh --uninstall # remove everything this installer created
# bash install_edit.sh --uninstall --components photo
#
-# Components (free ArtCraft apps by storytold, Apache-2.0, pinned in versions.json)
+# Components (free ArtCraft apps by storytold, MIT or Apache-2.0, pinned in versions.json)
# film FilmCraft timeline editor (Premiere class)
# sound SoundCraft multitrack audio workstation (mix, ducking, bounce)
# effect EffectCraft layered, keyframed compositing (After Effects class)
@@ -269,7 +269,7 @@ main() {
if [[ "$UNINSTALL" == 1 ]]; then uninstall; return 0; fi
local plat app; plat="$(platform_key)"
if [[ "$DRY" == 0 ]]; then mkdir -p "$HOME_DIR"; STAGE="$HOME_DIR/.stage-$$"; mkdir -p "$STAGE"; trap cleanup EXIT; fi
- say "brief2mp4 edit pack: ArtCraft apps by storytold (Apache-2.0), alpha software, versions pinned in versions.json"
+ say "brief2mp4 edit pack: ArtCraft apps by storytold (MIT or Apache-2.0), alpha software, versions pinned in versions.json"
for app in ${COMPONENTS//,/ }; do install_app "$app" "$plat"; done
if [[ "$DRY" == 1 ]]; then return 0; fi
copy_support_files; record_components; cleanup
diff --git a/plugin/skills/brief2mp4/edit/versions.json b/plugin/skills/brief2mp4/edit/versions.json
index 4a3b727..fc5832c 100644
--- a/plugin/skills/brief2mp4/edit/versions.json
+++ b/plugin/skills/brief2mp4/edit/versions.json
@@ -2,7 +2,7 @@
"schema": 1,
"checked": "2026-11-15",
"source": "https://github.com/storytold",
- "license": "Apache-2.0",
+ "license": "MIT OR Apache-2.0",
"signing": {
"key_asset": "release-signing-key.asc",
"fingerprint": "2B76741B414AAD6CD33E631213A005C0B9D7C3ED"
diff --git a/tests/test_edit_fast.py b/tests/test_edit_fast.py
index 2b42bd1..ec4363b 100644
--- a/tests/test_edit_fast.py
+++ b/tests/test_edit_fast.py
@@ -27,7 +27,7 @@ EDIT_FILES = [p for p in EDIT.rglob("*") if p.is_file()] + [DETECT_SH, DETECT_PS
def test_versions_json_schema():
v = VERSIONS
- assert v["schema"] == 1 and v["license"] == "Apache-2.0" and v["source"] == "https://github.com/storytold"
+ assert v["schema"] == 1 and v["license"] == "MIT OR Apache-2.0" and v["source"] == "https://github.com/storytold"
assert re.fullmatch(r"[0-9A-F]{40}", v["signing"]["fingerprint"]) and v["signing"]["key_asset"] == "release-signing-key.asc"
assert set(v["apps"]) == set(APPS)
for short, app in v["apps"].items():