From 62889719677af50e2beb97c6e9dfb0e5ad3b7ae9 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 21 Dec 2023 20:19:55 -0500 Subject: [PATCH] Add Flatpak build instructions so I don't forget again --- FLATPAK.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 FLATPAK.md diff --git a/FLATPAK.md b/FLATPAK.md new file mode 100644 index 0000000..7a77688 --- /dev/null +++ b/FLATPAK.md @@ -0,0 +1,18 @@ +# Flatpak Build Instructions + +This builds the Flatpak in a directory called `build` and a repository called `export`: + +```shell +$ flatpak-builder --force-clean --user --install --repo=export build zone.xiv.astra.yml +``` + +Some other useful options I use: +* `--disable-updates`: Disable updates for VCS like git, useful for quick iteration on Astra itself. + +To create a bundle, use this command: + +```shell +$ flatpak build-bundle export astra.flatpak zone.xiv.astra --runtime-repo=https://flathub.org/repo/flathub.flatpakrepo +``` + +This should create a bundle called `astra.flatpak`. \ No newline at end of file