electron-installer-linux

2.0.0 • Public • Published

electron-installer-linux

Aggregate electron-installer-debian, -redhat, -snap and -flatpak under a single package. Promise-ified versions of each installer (excluding snap, that is already a Promise)

Usage

let debian, redhat, flatpak;
// Import from index.js...
debian = require("electron-installer-linux").debian;
redhat = require("electron-installer-linux").redhat;
flatpak = require("electron-installer-linux").flatpak;

Once you've imported the modules, you have to use the imported modules like electron-installer-debian/redhat/flatpak's own APIs, except you use .then for success and .catch for error like a promise instead of providing a callback.

Use the links here to go to their respective pages and see their APIs, though they are really, exactly the same.
electron-installer-debian
electron-installer-redhat
electron-installer-flatpak electron-installer-snap

Readme

Keywords

none

Package Sidebar

Install

npm i electron-installer-linux

Weekly Downloads

5

Version

2.0.0

License

Apache-2.0

Unpacked Size

165 kB

Total Files

10

Last publish

Collaborators

  • ibujs