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
返回列表
PREV
查看更多资讯
NEXT
返回资讯列表