File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ linuxdeploy*.AppImage
1515build-dir
1616.flatpak-builder
1717repo
18+ * .flatpak
Original file line number Diff line number Diff line change @@ -4,10 +4,15 @@ sudo sysctl kernel.unprivileged_userns_clone=1
44sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
55sudo flatpak install -y flathub org.kde.Platform//5.15 org.kde.Sdk//5.15
66
7- if [ " $@ " = " --install" ]; then
7+
8+ option=" $1 "
9+ [ -z " $option " ] && option=" none"
10+
11+ if [ " $option " = " --install" ]; then
812 flatpak-builder --user --install --force-clean build-dir org.flatpak.PythonFunscriptEditor.json
913else
1014 flatpak-builder --repo=repo --force-clean build-dir org.flatpak.PythonFunscriptEditor.json
15+ flatpak build-bundle repo PythonFunscriptEditor.flatpak org.flatpak.PythonFunscriptEditor
1116fi
1217
1318sudo sysctl kernel.unprivileged_userns_clone=0
Original file line number Diff line number Diff line change @@ -24,3 +24,10 @@ flatpak-builder --user --install --force-clean build-dir org.flatpak.PythonFunsc
2424flatpak run org.flatpak.PythonFunscriptEditor
2525flatpak uninstall org.flatpak.PythonFunscriptEditor
2626```
27+
28+ To install the ` *.flatpak ` bundle from build script you can use:
29+
30+ ``` bash
31+ flatpak install --user PythonFunscriptEditor.flatpak
32+ flatpak run org.flatpak.PythonFunscriptEditor
33+ ```
You can’t perform that action at this time.
0 commit comments