This commit is contained in:
Alvin-Zilverstand committed 2026-11-16 10:30:06 +01:00
1 parent 32e258dee7
commit d7a56b19d4
6 files changed
+69 -60

No files matched your search

+2 -2
View File
@@ -5,10 +5,10 @@ ClipForge should stay lightweight while still working for users who do not alrea
## Packaging Behavior
- `pnpm run prepare:ffmpeg` prepares `src-tauri/binaries/ffmpeg-x86_64-pc-windows-msvc.exe`.
- If `ffmpeg` is already on PATH, the script copies that binary into the sidecar location.
- If the sidecar already exists, the script reuses it. Otherwise, if `ffmpeg` is on PATH, the script copies that binary into the sidecar location.
- If `ffmpeg` is missing, the script downloads the FFmpeg essentials zip and extracts `ffmpeg.exe` into the sidecar location.
- `src-tauri/tauri.conf.json` declares `bundle.externalBin = ["binaries/ffmpeg"]`, so Tauri includes the binary in MSI/NSIS installers.
- Installed users do not need a separate FFmpeg install; ClipForge can prefer system FFmpeg when present and fall back to the bundled sidecar.
- Installed users do not need a separate FFmpeg install; ClipForge checks the bundled sidecar first, then system PATH.
## Why This Is Lightweight