linux-packaging-rs / flatpak-ext-tools

Run flatpaks without installing them, and more!
https://ryanabx.github.io/flatpak-ext
MIT License
16 stars 1 forks source link

Where do things get downloaded to? #9

Open probonopd opened 1 month ago

probonopd commented 1 month ago

Instead of printing

Installing runtime/org.gnome.Platform/x86_64/46... 

maybe it could print the path where it gets downloaded to?

probonopd commented 1 month ago

Looks like

I am looking for a way to download an application and any runtimes it requires into its own directory, so that everything that is needed to run the application is contained in that one directory. Ideally also bubblewrap and a small launcher script to launch the application.

ryanabx commented 1 month ago

Looks like

* Runtimes get downloaded to the system-wide `/var/lib/flatpak/` (where Flatpak would also download them). This might be the reason why we need to be root to use this tool?

* Applications get downloaded to `/tmp/flatrun/.tmpXXXXXXX/`

Correct

I am looking for a way to download an application and any runtimes it requires into its own directory, so that everything that is needed to run the application is contained in that one directory. Ideally also bubblewrap and a small launcher script to launch the application.

The extraction to a directory is certainly doable, the bubblewrap part might take some more involved steps but that can be on the roadmap as well. I think I have an idea of what you'd like to do with that ;)