tad
tad copied to clipboard
Provide RPM Builds
The "Linux" build currently only supports roughly half the Linux ecosystem.
Those of us using distros with RPM-based package mangers such as OpenSUSE, Fedora, Redhat etc. can only install from .rpm
files, not .deb
.
This RPM build could be automated with OBS: https://build.opensuse.org/
It would be nice to have system-agnostic binary tarballs as well.
Since they are using electron-builder to do this, it should be as simple as modifying the package.json
to read
"build": {
"linux": {
"target": [
"deb",
"rpm",
"tar.bz2"
]
}
}
I have tried adding rpm
to the list but the npm run dist
command is failing for me. I'll try to look into it today and see if I can get it to work.
@pcon Thanks for pointing out that it should be so easy, I'll give it a try. Looking now I see these target options are pretty obvious in the electron-builder docs so no idea how I missed it 😳 Will give it a whirl when I get the chance.
No pressure, but what's failing with your npm run dist
? It's possible I missed a step in the build instructions.
@antonycourtney I'm getting an error around icns2png. Probably because I don't have it installed and there's not a packaged version I could find for Fedora with .5s of searching
Alternatively, you can extract the DEB archive and then repack the contents into RPM (you have to write the SPEC file).
On the linux side, distributing on flathub could be good.