I have simple vala app, one of its functionalities ends with shutting down the computer using Posix.system("shutdown now");
In the ordinary ninja
compiled version, the app works fine. However, in the flatpak version, it does not work.
I tried to repackaging it again with adding couple of finish args in the yml file.,
finish-args:
- '--share=ipc'
- '--socket=fallback-x11'
- '--socket=wayland'
- '--filesystem=home'
- '--socket=session-bus'
- '--socket=system-bus'
but it does not work too.