Skip to content

Commit 0436a4b

Browse files
authored
docs: add instructions to create .flatpak file
1 parent ec6e894 commit 0436a4b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

+13
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,19 @@ To build and immediately install the flatpak it produces add `--user --install`
7777
flatpak-builder --force-clean build-dir com.example.FlutterApp.json --user --install
7878
```
7979

80+
or to create a `.flatpak` file that can later be installed on any system:
81+
82+
```
83+
flatpak-builder --force-clean build-dir com.example.FlutterApp.json --repo=repo
84+
flatpak build-bundle repo com.example.FlutterApp.flatpak com.example.FlutterApp
85+
```
86+
87+
Will generate `com.example.FlutterApp.flatpak`, which can be installed on any system with Flatpak support:
88+
89+
```
90+
flatpak install com.example.FlutterApp.flatpak
91+
```
92+
8093
## Publish to app store
8194

8295
When this succeeds you can proceed to [submit to an app store like Flathub](https://github.com/flathub/flathub/wiki/App-Submission).

0 commit comments

Comments
 (0)