https://blue-build.org/ logo
Is it posstible to install local flatpak?
# questions
o
There's a flatpak not on flathub, so I wrote a script try to do that manually, but it didn't show up in the system. Is this the right way to do it?
Copy code
bash
#!/usr/bin/env bash

set -oue pipefail

mkdir /tmp/some_flatpak
cd /tmp/some_flatpak

wget "$(curl -s https://api.github.com/repos/some_flatpak_repo/releases/latest | grep -oP '"browser_download_url": "\K[^"]+' | grep 'Linux.flatpak')"

flatpak install -y --bundle ./*.flatpak
a
message has been deleted
x
flatpaks install in such a way that it is not normally possible to bundle them in the image
that's why our flatpak module installs them post-boot
you'd need a systemd service for that
another option is creating a custom flatpak installation directory that's not in /var/, but those flatpaks wouldn't be able to be managed by the user at all
this is something we could technically add into default-flatpaks@v2 ig
o
Thanks! I'll try this way maybe