Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • step 3 - run below command

$npm run start     


Create installer package

Follow below steps to create installer package for linux/windows/mac             

  • Need to install electron-packager and electron-installer-debian globally

$ sudo npm install -g electron-packager

             $ sudo npm install -g electron-installer-debian

  • Run below commands to make deb file for linux intaller.

$ electron-packager . --platform linux --arch x64 --out dist --overwrite

$ electron-installer-debian --src dist/EMV-linux-x64/ --arch amd64 --config config.json

  • Installer package will be created and stored inside the dist folder.

For the complete documentation on electronjs refer link: https://www.electronjs.org/.



Installation

  • Installer package will be created for Image flashh app: __________________.deb
  • Double click on installer deb package, default linux software install window will appear and progress bar will be displayed
  • On successful installation user/developer will be able to launch Image flash app   


npm install --save-dev electron

Features