I'm trying to add ffmpeg binary to macOS and Windows using platform tauri configs.
tauri.macos.conf.json
{
"bundle": {
"macOS": {
"frameworks": [
"ffmpeg/lib/libavcodec.60.dylib",
"..."
],
"signingIdentity": "-"
},
"externalBin": [
"ffmpeg"
]
}
}
{
"bundle": {
"resources": {
"ffmpeg\\bin\\x64\\*": "./",
},
}
}
Not sure if in windows that's the correct way (I need both DLLs and exe)
Anyway, in macOS it failed to bundle it.
Error failed to bundle project: Failed to copy external binaries
bunx tauri build -- --verbose