File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ funscript_actions.csv
1414linuxdeploy * .AppImage
1515build-dir
1616.flatpak-builder
17+ repo
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ sudo sysctl kernel.unprivileged_userns_clone=1
44flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
55# flatpak install flathub org.freedesktop.Platform//21.08 org.freedesktop.Sdk//21.08
66flatpak install org.gnome.Platform//3.38 org.gnome.Sdk//3.38
7- flatpak-builder build-dir org.flatpak.PythonFunscriptEditor.json --force-clean
7+ flatpak-builder --repo=repo --force-clean build-dir org.flatpak.PythonFunscriptEditor.json
Original file line number Diff line number Diff line change 11# Flatpak
22
3- ## Cheatsheet
3+ ## Build Flatpak from Source
4+
5+ Run in project root:
46
57``` bash
68./build_flatpak.sh
7- flatpak-builder --run build-dir org.flatpak.PythonFunscriptEditor.json /bin/bash
8- flatpak-builder --run build-dir org.flatpak.PythonFunscriptEditor.json runner.sh
9+ ```
10+
11+ To verify that the build was successful, run the following:
12+
13+ ``` bash
14+ flatpak --user remote-add --no-gpg-verify local-repo repo
15+ flatpak --user install local-repo org.flatpak.PythonFunscriptEditor
16+ flatpak run org.flatpak.PythonFunscriptEditor
17+ flatpak --user remote-delete local-repo
18+ ```
19+
20+ An other option is to use ` flatpak-builder ` to install the application.
21+
22+ ```
23+ flatpak-builder --user --install --force-clean build-dir org.flatpak.PythonFunscriptEditor.json
24+ flatpak run org.flatpak.PythonFunscriptEditor
25+ flatpak uninstall org.flatpak.PythonFunscriptEditor
926```
You can’t perform that action at this time.
0 commit comments