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