New Script: buildlbry.sh: build lbry flatpak

This commit is contained in:
mollusk 2019-10-27 07:42:09 -07:00
parent 09858d89de
commit 9dcc4197b2

14
buildlbry.sh Executable file
View File

@ -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