Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(build): generate the third-party licences in build:win:arm64

EtienneLescot317a5ac30bd9
diff --git a/package.json b/package.json
index 7edc97643..2f6da283a 100644
--- a/package.json
+++ b/package.json
@@ -56,7 +56,7 @@
"build:whisper-binaries": "bash scripts/build-whisper-stt.sh",
"test:whisper-stt": "node scripts/test-whisper-stt.mjs",
"build:native:win:arm64": "node scripts/build-windows-wgc-helper.mjs --arch arm64",
- "build:win:arm64": "npm run build:native:win:arm64 && npm run fetch:ffmpeg && npm run fetch:onnxruntime && npm run stage:vcomp && npm run build:native:compositor && tsc && vite build && electron-builder --win --arm64 --config.npmRebuild=false",
+ "build:win:arm64": "npm run build:native:win:arm64 && npm run fetch:ffmpeg && npm run fetch:onnxruntime && npm run stage:vcomp && npm run build:native:compositor && tsc && vite build && npm run licenses:generate && electron-builder --win --arm64 --config.npmRebuild=false",
"test": "vitest --run",
"test:changed": "vitest --run --changed",
"wb": "vitest --run --config vitest.workbench.config.ts",