monokle icon indicating copy to clipboard operation
monokle copied to clipboard

Flatpak Linux releases

Open Tarick opened this issue 2 years ago • 3 comments

Describe the enhancement you'd like to see

We already have deb packages, but they cover only the part of Linux ecosystem. These days more and more applications are released with Flatpak which is the distribution and vendor independent way to provide and update the released packages. This should increase Monokle's userbase significantly.

Tarick avatar Dec 03 '21 17:12 Tarick

thanks @Tarick - there seem to be instructions for how to package Electron applications with Flatpak at https://docs.flatpak.org/en/latest/electron.html

olensmar avatar Dec 04 '21 08:12 olensmar

Will look at it..

erdkse avatar Dec 04 '21 08:12 erdkse

Looking forward to this.

mbana avatar May 20 '22 13:05 mbana

Can I join you all for this Development?

dipankardas011 avatar Oct 21 '22 07:10 dipankardas011

These resources might be helpful

  • https://github.com/flathub/flathub/wiki/App-Requirements
  • https://github.com/flathub/flathub/wiki/App-Submission

dipankardas011 avatar Oct 21 '22 07:10 dipankardas011

hey @dipankardas011, of course, you can, currently, our problem is that electron-builder fails for flatpak releases. I couldn't solve this problem. Maybe you can help with it. If we don't create the build with electron-builder then we need to create a separate building process for flatpak and that is something we don't want to spend time on it.

You can find the documentation here => https://www.electron.build/configuration/flatpak.html

erdkse avatar Oct 21 '22 08:10 erdkse

Understood the problem We must raise a issue to corresponding repo Until then we need to wait until it flatpack gets the option to Deploy electron app

Is their no other way?

dipankardas011 avatar Oct 21 '22 08:10 dipankardas011

Appimage is bad, used it

What about snap 😅

dipankardas011 avatar Oct 21 '22 08:10 dipankardas011

We already have snap implementation. The problem with flatpak is not only the deploying part. The building part is also not working. Maybe you can help us with that part. If you need further directions you can reach me on discord. @dipankardas011

erdkse avatar Oct 21 '22 13:10 erdkse

@erdkse there are some issues during build here are the commands

cd flatpak && flatpak-builder build org.kubeshop.monokle.yml --install --force-clean --user

dipankardas011 avatar Nov 02 '22 18:11 dipankardas011

@erdkse there are some issues during build here are the commands

cd flatpak && flatpak-builder build org.kubeshop.monokle.yml --install --force-clean --user

let me check your work but as I also commented here (https://github.com/kubeshop/monokle/pull/2654#issuecomment-1301077472) this implementation will require an additional build step for flatpak. If we fix this issue with electron builder, it is better I believe

erdkse avatar Nov 02 '22 19:11 erdkse