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

explore packaging options #9

Closed
cztomsik opened this issue Dec 18, 2018 · 5 comments
Closed

explore packaging options #9

cztomsik opened this issue Dec 18, 2018 · 5 comments
Assignees

Comments

@cztomsik
Copy link
Owner

We could probably use some combination of these:

Some other related tools:

It has to be tested and then documented.

We obviously want to support mac too but if there is a shorter way (ncc + pkg might be a one but I'm not sure) for linux/windows we should mention it too because not everybody needs to support mac.

@styfle
Copy link

styfle commented Dec 18, 2018

Also checkout this list: https://github.com/styfle/awesome-desktop-js/blob/master/README.md#packaging

@cztomsik
Copy link
Owner Author

@styfle thx, BTW what is your opinion? do you have any experience/opinions with these tools?

@styfle
Copy link

styfle commented Dec 19, 2018

I've used electron builder but never quite got it to work properly with magnemite.

The ncc tool is a little different than the others because it does not create a native binary. It's really more like a bundler such as browserify or webpack.

I would start with pkg since that was used in production for all zeit deployments for at least a year and seems to have a lot of mindshare around it.

@cztomsik
Copy link
Owner Author

ncc + pkg could work but it needs native extensions in the same directory, so it's not straightforward enough for beginners.

From this perspective, electron-builder might be a better option https://github.com/electron/electron/blob/master/docs/tutorial/using-native-node-modules.md

@cztomsik cztomsik self-assigned this Jan 7, 2019
@cztomsik
Copy link
Owner Author

closed by #59
http://tomsik.cz/node-webrender/docs/packaging.html

@cztomsik cztomsik added this to the v1 milestone Mar 31, 2019
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

2 participants