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

Package an Electron app on an Apple Silicon chip for Windows with Electron Packager #1511

Open
El-Tommy opened this issue May 23, 2023 · 1 comment
Labels

Comments

@El-Tommy
Copy link

I'm using Electron Packager to distribute an application created with Electron. I'm using a Mac with an Apple Silicon chip (M1 to be exact).

The problem is that I also need to distribute this application for Windows x64 and Windows ARM. However, when trying to run the command below, the following error is always returned spawn Unknown system error -86:

npx electron-packager . --overwrite --no-prune --icon=./icon/icon.ico --platform=win32 --arch=x64

I already installed Wine with brew, but the error persists.

@welcome
Copy link

welcome bot commented May 23, 2023

👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

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

No branches or pull requests

1 participant