Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac打包问题 #28

Open
ByLiangCheng opened this issue Jun 25, 2023 · 0 comments
Open

Mac打包问题 #28

ByLiangCheng opened this issue Jun 25, 2023 · 0 comments

Comments

@ByLiangCheng
Copy link

由于我是基于Electron开发,打包时是做跨平台分发

当在Mac环境下打包arm64和64两个版本的包时,有这么一个问题:

我的Mac电脑是M1的芯片,打包后的文件为:node-screenshots.darwin-arm64.node,这种情况下是没错的

但是当我需要打包64位版本时,打包后出现的也是node-screenshots.darwin-arm64.node

我现在的解决办法时在windows的虚拟机上部署了mac系统,然后在虚拟机内打包的64位

而如果在虚拟机内打包arm64时,打包后出现的也是node-screenshots.darwin-64.node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant