zulip-electron (two package.json) and onshape-desktop-shell (one package.json) are some real-world projects that use electron-builder for their packaging. On Linux - $ npm run dist |- appname-version.AppImage |- b |- linux-unpackedĮlectron-builder is highly configurable. On Windows - # When using target - Squirrel $ npm run dist |- win | |- REALESES | |- appnameSetupversion.exe | |- appname-version-full.nupkg |- win-unpacked # When using target - NSIS $ npm run dist |- win | |- appnameSetupversion.exe |- win-unpacked running it on OSX will create - $ npm run dist |- mac | |- appname-version-mac.zip | |- appname-version.dmg | |- appname.app By default build command will only generate the installer for current platform and current arch. To package your app into an installer use command: npm run dist Building Electron is done entirely with command-line scripts and cannot be done with Visual Studio. If you don't currently have a Windows installation, has timebombed versions of Windows that you can use to build Electron. You’ve successfully configured electron-builder. Or, you can download the standalone SDK installer and use it to install the Debugging Tools. On windows build you can also use NSIS target which is the default one and recommended by electron-builder.
0 Comments
Leave a Reply. |