From 9dcc4197b2b68905b90ba1359c39c316e3d6f052 Mon Sep 17 00:00:00 2001 From: mollusk Date: Sun, 27 Oct 2019 07:42:09 -0700 Subject: [PATCH] New Script: buildlbry.sh: build lbry flatpak --- buildlbry.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 buildlbry.sh diff --git a/buildlbry.sh b/buildlbry.sh new file mode 100755 index 0000000..bb0b556 --- /dev/null +++ b/buildlbry.sh @@ -0,0 +1,14 @@ +#!/bin/bash + +JSONFILE="io.lbry.lbry-app.json" + + +if [ ! -f "${JSONFILE}" ];then + echo "No existing JSON file, is your current directory corrent?" + echo "Your current directory is: $(pwd)" +else + flatpak-builder --force-clean --repo=lbry-repo lbry-app io.lbry.lbry-app.json + flatpak --user remote-add --no-gpg-verify --if-not-exists lbry-app lbry-repo + flatpak --user install lbry-app io.lbry.lbry-app + flatpak update io.lbry.lbry-app +fi \ No newline at end of file