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

Build windows app (*.exe) on linux platform #276

Open
FridaCai opened this issue Jan 21, 2024 · 0 comments
Open

Build windows app (*.exe) on linux platform #276

FridaCai opened this issue Jan 21, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@FridaCai
Copy link

Hi Team,

We are trying to build windows app (*.exe) on linux build machine and meet following error:截屏2024-01-21 20 55 53

We can solve the problem by adding following line before build:

normalizedOptions.win=[]

more information can be find here: https://github.com/electron-userland/electron-builder/blob/277341000a87abaa65a7985854c06e88ed5938b9/packages/electron-builder/src/builder.ts#L89C1-L89C26

Although we have approach to solve this problem, it is not good practice to modify framework code in application project. So may I have your advice about how to config/use nx-electron properly in this case? Thanks in advance and look forward for your reply. Feel free to let me know if you need more details.

@FridaCai FridaCai added the enhancement New feature or request label Jan 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant