-
Notifications
You must be signed in to change notification settings - Fork 28
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
Packaging for Windows from Mac #5
Comments
@soorajvnair Hi. I can't say I have plans to offer pre-build binaries for this module, I use buddybuild to build the Mac app and CircleCI for the linux build. I haven't figure out how to do windows builds, but, we're already using appveyor for CI in this module and I'm considering getting an account to build my app. Sorry 😞 |
No worries @bithavoc thanks again for the great work. :) |
got it with: |
I'm re-opening this issue to keep track of this need, I should be able to setup CI to upload prebuild binaries. I need to read more about it. |
yasss! i think it's nothing more than to merge and adjust the modifications in package json. then i can help with building on mac or linux if its needed. |
This might be of use: |
I know this is old, but this might be a lot easier now with github actions supporting osx, linux, and windows builds. 🤷♂️ |
Hey there,
Great work on the package. I used your native module on my Electron App and it works perfectly well during development, but as soon as i try to package your Native Module from a non target OS,
i.e Packaging for Windows from a Mac machine. The resulting executable fails to run on Windows and shows the following error, the error varies according to the ASAR setting.
This is a well known issue amongst people who try to package for all platforms from a single platform. There are many hacks and solutions to make this work however, the most promising one
is perhaps https://www.npmjs.com/package/prebuild which lets you generate prebuilt binaries
for the different platforms. Will help a lot of folks like me.
Is this something you'll be looking into at some point or are you already working on it?
Thanks again.
The text was updated successfully, but these errors were encountered: