-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[FEAT]添加构建参数 #986
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
Labels
enhancement
New feature or request
Comments
我发现这个默认行为好像是因为 |
我fork了这个项目并将
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? / 你想要的功能和什么问题相关?
我的平台是Windows x64
当我参考readme中的命令进行构建时:
发现他默认构建的是ia32,32位版本。查询资料发现可能是electron框架的默认行为
使用以下命令也无法构建出64位版本:
这两个命令均会指向electron:build,无法构建对应的版本
也无法显式传参:
--arch=x64
最后查看github-action的配置文件,通过使用
构建了Windows上的所有版本,得以解决
因此希望在
package.json
文件中新增一些构建命令,能够实现单独在本地构建x64版Describe the solution you'd like. / 你想要的解决方案是什么?
在
package.json
文件中新增一些构建命令如
electron:build --win --x64
,electron:build --x64
等等或者在
build
字段中增加一些限定如arch: x64
等感谢~
Describe alternatives you've considered. / 你考虑过的其他方案是什么?
No response
Additional context / 其他信息
No response
The text was updated successfully, but these errors were encountered: