I have an Electron program I want to distribute on all three major OSs. Publishing on Windows and macOS is easy enough; One installation file and we're done, plus the users of these OSs are used to independent application updates through the Internet.
With Linux, I have a couple of problems:
- I have a lot of package managers to maintain
- I need my package to update through some sort of package manager, that way it is more convenient and doesn't need to connect to the Internet and "phone home"
There are a few ways to tackle this problem, none of them are very good.
- AppImages, Snaps and Flatpaks are self-contained environments, which creates overhead. AppImages are standalone and therefore annoying to update, while Snaps automatically update by default (no thanks). Flatpak and Snapd are also rarely installed by default.
- Apart from the serious inconvenience of maintaining at least three packages for, say, AUR/APT/RPM, PPAs simply don't natively work on Debian.
- Providing a binary or tarball would be easiest for me, but inconvenient for the end user and I couldn't provide conventional updates.
Is there some kind of tool that takes my binary file and distributes it to most distro package managers with little to no hassle? Is there some other magic solution that I've missed? Or is it really this hard to provide an accessible Linux package?