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 = debian;redhat = redhat;flatpak = 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