1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-20 11:47:46 +00:00

Add Flatpak build instructions so I don't forget again

This commit is contained in:
Joshua Goins 2023-12-21 20:19:55 -05:00
parent 386aeda14f
commit 6288971967

18
FLATPAK.md Normal file
View file

@ -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`.