Refactor addon path resolution and rename Windows addon

Simplifies the logic for resolving the ffmpeg addon path by dynamically constructing the filename from process.platform and process.arch. Also renames the Windows x64 addon file to ffmpegAddon.win32.x64.node for consistency.
This commit is contained in:
手瓜一十雪
2025-10-30 11:29:54 +08:00
parent e88f49e140
commit 7ac7488d54
2 changed files with 4 additions and 12 deletions