Can someone help me with the following queries.
Whats the difference between the two? electron-packager
and electron-builder
.
I have used both. And both of them creates a .exe file.
But the one created with builder can be used independently(requires no other files)
The problem with the app(created from electron-builder) is that, everytime I run the app(MyApp) on Windows OS, there's something else(interface) that loads up, and then it takes a while for the app to start(maybe around 7-8 secs).
Have attached an image:
Why can't I create an installer like other windows application. Where I install it once, and then run it from Programs -> MyApp
Please help/guide
Thank you !!
Whats the difference between the two? electron-packager and electron-builder.
electron-builder includes electron-packager. electron-packager only pack your app, but electron-builder pack, build in distributable format (e.g. dmg, setup exe, AppImage) and publish to GitHub Releases or Bintray.
The problem with the app(created from electron-builder) is that, everytime I run the app(MyApp) on
You should handle Squirrel.Windows events, please see https://github.com/electron/windows-installer#handling-squirrel-events
Why can't I create an installer like other windows application.
Using electron-builder, you can — just set build.win.target
to nsis
and build.nsis.perMachine
to true
. Please see all available options — https://github.com/electron-userland/electron-builder/wiki/Options#NsisOptions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With