Open spikespaz opened 2 years ago
Hi!
I'm not an expert but this is what I figured out. flatpak install
basically does two things: it installs a runtime and an application.
Everything that is needed to run the application is bundled inside app
and runtime
, so you just need to do flatpak run
and it should apply all the arguments that you see in the .yml
file.
That means that you shouldn't have to bind anything yourself as flatpak
will take care of NetworkManager etc... Note that those are permissions, not dependencies that need to be downloaded.
Now I took a look at the .yml
and it looks like Steam requires some extensions. I haven't implemented support for that, so it's possible that we need to change the code such that you can specify extensions = [ .. ]
on top of runtime = [..]
, when installing an app.
Sorry, my bad. That's for the SDK, not the runtime.
The runtime is
runtime: org.freedesktop.Platform
runtime-version: &runtime-version '22.08'
That also requires extensions, so my reasoning above still stands regarding adding support for that.
When running
flatpak install com.valvesoftware.Steam
:I don't know that much about Flatpak internals and would like assistance satisfying all of the runtime dependencies shown above. I see that there is one argument:
--ro-bind ${runtime} $FLATPAK_DIR/runtime
in the shell code generated fromwrapFlatpakLauncher
. What directories need to be bound for example,org.freedesktop.NetworkManager
?How can I see more details about what
flatpak install
does under the hood? Do all of the arguments here: https://github.com/flathub/com.valvesoftware.Steam/blob/beta/com.valvesoftware.Steam.yml#L18 need to be passed toflatpak run
as well?