Skip to content

Trying to build a flatpak with a wails.app build #779

Answered by ianmjones
loloof64 asked this question in Q&A
Discussion options

You must be logged in to vote

@loloof64 I believe you're just missing finish-args in the Flatpak manifest.

Every Flatpak manifest must specify what permissions it needs, and for X11/Wayland desktop apps you need a bare minimum of ...

finish-args:
  # Window Manager
  - '--share=ipc'
  - '--socket=fallback-x11'
  - '--socket=wayland'

Just add that after the command entry and you should be good to go.

I created a wails-flatpak test repo at https://github.com/ianmjones/wails-flatpak, and progressed it from including a local binary to building it too. I did this as two parts of my Always Developing YouTube channel. As I write this, the second part (session 56) that actually solves your problem isn't up on YouTube yet, but…

Replies: 4 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@loloof64
Comment options

Comment options

You must be logged in to vote
12 replies
@esimkowitz
Comment options

@leaanthony
Comment options

@esimkowitz
Comment options

@leaanthony
Comment options

@ianmjones
Comment options

Answer selected by loloof64
Comment options

You must be logged in to vote
1 reply
@leaanthony
Comment options

Comment options

You must be logged in to vote
1 reply
@chenasraf
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants