Minor improvements to flatpak README

This commit is contained in:
miruka 2020-08-28 10:22:43 -04:00
parent 13dde2fe95
commit cb16ed0843

View File

@ -5,41 +5,33 @@
To build the Flatpak package, you will need `flatpak`, `flatpak-builder`, and
KDE 5.14 runtime with SDK. `flatpak-builder` is usually available from
the same repository as `flatpak`.
[Flatpak setup instructions](https://flatpak.org/setup/)
See the [Flatpak setup instructions](https://flatpak.org/setup/)
for your system.
To install the runtimes (remove the `--user` flag and run as root if you
prefer system-wide installation):
```
flatpak install --user flathub org.kde.Platform//5.14 org.kde.Sdk//5.14
```sh
flatpak install --user flathub org.kde.Platform//5.14 org.kde.Sdk//5.14
```
If the download fails for some reason, run `flatpak repair` before retrying.
To build, run from the root of the project:
To build, create a bundle and install it, run from the root of the project:
```
make clean
flatpak-builder --repo=build/flatpak/repo --force-clean build/flatpak/build packaging/flatpak/mirage.flatpak.yaml
```sh
make clean
flatpak-builder --repo=build/flatpak/repo --force-clean build/flatpak/build packaging/flatpak/mirage.flatpak.yaml
flatpak build-bundle build/flatpak/repo build/mirage.flatpak io.github.mirukana.mirage
flatpak install --user build/mirage.flatpak
```
To create bundle, run
To run the installed bundle,
either use your desktop environment or command line:
```sh
flatpak run io.github.mirukana.mirage
```
flatpak build-bundle build/flatpak/repo build/mirage.flatpak io.github.mirukana.mirage
```
Then you can install it with
```
flatpak install --user build/mirage.flatpak
```
To run, either use your desktop environment or command line:
```
flatpak run io.github.mirukana.mirage
```
## Manifest