2.0.0 • Published 6 years ago

electron-installer-linux v2.0.0

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
6 years ago

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