hamsket icon indicating copy to clipboard operation
hamsket copied to clipboard

Any chance to package in flatpak?

Open Split7fire opened this issue 6 years ago • 9 comments

Appimage is cool, but flatpak gives sandboxing and update mechanism. Any ideas about packaging in flatpak?

Split7fire avatar Aug 24 '18 17:08 Split7fire

This would generally be an electron-builder issue, such as electron-userland/electron-builder#3212.

Without being able to easily run Linux myself, and Windows Subsystem for Linux not supporting things like loopback mounts, my ability to test and support various Linux-specific configurations is limited.

Even a lot of the documentation for dependencies are incorrect or very misleading, which I do my best to try to make people aware of, but I'm only one person.

If anyone would like to contribute this, I'm thrilled to accept PRs, but doing cursory research, it looks like it'd have to be implemented as a specific command and run a separate script to build a flatpak correctly. I'm not against that, but it likely wouldn't end up as part of official build artifacts without a much faster linux build host, and that'd need more unified storage of build artifacts, which appveyor can currently provide for free.

TheGoddessInari avatar Aug 25 '18 08:08 TheGoddessInari

Would be nice to have this packaged as flatpak or snap or whatever... There are many poor souls around (including me) who do not have any clue about programming/building images in linux and so on.

Nevertheless, it is nice to see someone taking care of the project. Thanks @TheGoddessInari for your effort! Much appreciated!

cdorin93 avatar Aug 27 '18 15:08 cdorin93

I'll look into the snap store after renaming. I'll also look into a flatpak build action sooner.

TheGoddessInari avatar Aug 28 '18 03:08 TheGoddessInari

I prefer flatpak, if is possible

Lvaskz avatar Sep 08 '18 20:09 Lvaskz

I'm evaluating the feasibility of switching my day-to-day setup over to Linux. If it works out, I'll be able to consider options like this. Contributions/testing from elsewhere would be great in general, though.

TheGoddessInari avatar Sep 26 '18 22:09 TheGoddessInari

Re-adding a raw snap and will look into snap store. I'm on Linux now day-to-day, so I'll investigate if there's some reasonable way to add flatpak even though electron-builder still lacks support.

TheGoddessInari avatar Oct 07 '18 15:10 TheGoddessInari

@TheGoddessInari every progress is good, but as far as I know snap is only ubuntu-specific, while flatpak aims to better support all linux distributions. So, so as for me, for the moment I can't help with testing.

Split7fire avatar Oct 07 '18 16:10 Split7fire

Reference bug: https://github.com/electron-userland/electron-builder/issues/512

julian-alarcon avatar Jan 03 '19 14:01 julian-alarcon

I made a working one for rambox before it got discontinied. I could likely easily convert it.

LeSnake04 avatar Aug 08 '22 19:08 LeSnake04