十年匠心定制 · 商业建站与技术教学双线并行 咨询热线:400-886-1026 service@lmnt.cn
ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

electron打包mac ,apple m4出错:ffprobe是x86,不是arm64

electron打包mac ,apple m4出错:ffprobe是x86,不是arm64 一、下载Releases · blogwy/ffprobe-static-installer解压gunzip -c darwin-arm64.gz ffprobe二、文件复制到node_modules/ffprobe-static/bin/darwin/arm64/ffprobe# 3. 设置权限 chmod 755 node_modules/ffprobe-static/bin/darwin/arm64/ffprobe # 4. 对下载的文件移除隔离属性 xattr -d com.apple.quarantine node_modules/ffprobe-static/bin/darwin/arm64/ffprobe # 5. 验证架构 file node_modules/ffprobe-static/bin/darwin/arm64/ffprobe三、测试执行codesign --sign 53DFA9FC3CAC8AC84EA8B216D95F47E04016CD9E --force node_modules/ffprobe-static/bin/darwin/arm64/ffprobe
返回列表