Skip to content

Commit 9b044dd

Browse files
author
arch
committed
update build script
1 parent 98c1f65 commit 9b044dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

build_flatpak.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#!/bin/bash
22

3+
option="$1"
4+
[ -z "$option" ] && option="--default"
5+
36
sudo sysctl kernel.unprivileged_userns_clone=1
47
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
58
sudo flatpak install -y flathub org.kde.Platform//5.15 org.kde.Sdk//5.15
69

7-
8-
option="$1"
9-
[ -z "$option" ] && option="none"
10-
1110
if [ "$option" = "--install" ]; then
1211
flatpak-builder --user --install --force-clean build-dir org.flatpak.PythonFunscriptEditor.json
1312
else

0 commit comments

Comments
 (0)