Pair electron-builder with the electron-updater module to deliver background updates.
Download and Install Electron-Builder: A Complete Guide If you are developing a desktop application with Electron , you will eventually need to package your source code into a professional, distributable installer. is the gold-standard solution for this task, offering a "complete solution" to package and build apps for macOS, Windows, and Linux with auto-update support out of the box. download electron builder
like .exe (Windows), .dmg (macOS), and .AppImage or .deb (Linux). How to Download and Install Electron-Builder
{ "name": "my-electron-app", "version": "1.0.0", "scripts": { "dist": "electron-builder" }, "build": { "appId": "com.example.myapp", "productName": "My App Name", "directories": { "output": "dist" }, "win": { "target": "nsis" }, "mac": { "target": "dmg" } } } Use code with caution. like .exe (Windows)
Specifies where the finished installers will be saved (defaults to dist ). 4. Running the Build Process
so your users always have the latest version. 2. How to Download and Install Electron-Builder