Packing an Electron app for Linux, Mac, and Windows
Go to solution
Solved by DevBlox,
Ah. Too bad I can't show you examples (company code). You basically install all the dependencies with npm install and run electron-builder to also install dependencies. Then you can use it to cross-compile binaries to other platforms even. Works like a charm. You get a single executable and that's it!
electron-builder: https://github.com/electron-userland/electron-builder
EDIT: There's a config you need to cretate for your application, read the docs basically.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now