question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use electron-builder to pack app

See original GitHub issue

electron-builder: Complete solution to build ready for distribution and “auto update” installers of your app for OS X, Windows and Linux.

And this is my project example with electron-builder - douban.fm

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:9
  • Comments:19 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
amilajackcommented, Oct 9, 2016

We have an initial working version under review at the moment

1reaction
dustintownsendcommented, Jul 26, 2016

I took a crack at this, but had to change the structure of the app to get it all working. I used @xwartz project example.

Electron-builder defaults to using an ‘app’ folder to build to (so the ‘dist’ folder in the boilerplate). And the application source files in an ‘src’ folder. It also has two package.json files, one for development and one for application. I think due to my lack of knowledge on webpack I’m missing something with that step and ended up with duplicate dependencies to get it to build. In @xwartz project there were no dependencies in the application package.json.

To do:

  • figure out how to manually load dependencies from the application package.json for webpack building.
  • revert the paths to the boilerplate default (need to figure out how to override these settings in electron-builder).

https://github.com/dustintownsend/electron-react-boilerplate/tree/electron-builder

Read more comments on GitHub >

github_iconTop Results From Across the Web

electron-builder
You can use electron-builder only to pack your electron app in a AppImage, Snaps, Debian package, NSIS, macOS installer component package ( pkg...
Read more >
A complete guide to packaging your Electron app | by Akash
Packaging an electron app simply means creating a desktop installer (dmg, exe, deb, etc). ... Configure your app to use electron-builder :.
Read more >
A Comprehensive Guide to Building and Packaging an ...
As mentioned before, there are 3 different tools to package an Electron app: electron-forge, electron-packager, and electron-builder. As we look ...
Read more >
Packaging & Distributing your Electron App - YouTube
Links from the video1. Electron Binaries : https://github.com/ electron / electron /releases2. Electron Application Distribution Guide ...
Read more >
How to Package an Electron App? ⚛️ Explained in 4 Minutes!
Let's check out how you can package an Electron App with different flags, within 4 minutes!. :npm install electron - packager -gelectron-.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found