Return to site

Electron build dmg

broken image
broken image

See options, but consider to follow simple guide outlined below at first. Here those are always not included (because reside outside the app directory). Thanks to having two files this is trivial. Those used in application need to be compiled against electron runtime, and all devDependencies need to be compiled against your locally installed node.js. Why the two package.json structure is ideal and how it solves a lot of issues Only this directory is distributed with real application. Here you declare dependencies for your development environment and build scripts. We strongly recommend to use two package.json files (it is not required, you can build project with any structure). Real project example - onshape-desktop-shell. Windows-installer are used under the hood.

broken image

Publishing artifacts to GitHub Releases.Code Signing on a CI server or development machine.Auto Update ready application packaging.Native application dependencies compilation (only if two-package.json project structure used).