aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-23 17:44:01 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-23 17:44:01 -0500
commit3858a269e3f66afb0ea72dd8eb0f828b53b9b0b3 (patch)
tree36fa04b7678200fc2076a7a8031bb0afc8735c80
parentFix all builds (diff)
downloadlibrewolf-linux-3858a269e3f66afb0ea72dd8eb0f828b53b9b0b3.tar.gz
librewolf-linux-3858a269e3f66afb0ea72dd8eb0f828b53b9b0b3.tar.bz2
librewolf-linux-3858a269e3f66afb0ea72dd8eb0f828b53b9b0b3.zip
Fix flatpak build
-rwxr-xr-xbrowser/linux/flatpak/build_flatpak.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/browser/linux/flatpak/build_flatpak.sh b/browser/linux/flatpak/build_flatpak.sh
index 411b387..4ba1ab2 100755
--- a/browser/linux/flatpak/build_flatpak.sh
+++ b/browser/linux/flatpak/build_flatpak.sh
@@ -37,9 +37,13 @@ tar -xvf $BINARY_TARBALL;
printf "\nPreparing files for flatpak build\n";
mkdir $_FLATPAK_BUILD_SOURCE_FOLDER && mv $_EXTRACTED_BINARY_TARBALL_FOLDER $_FLATPAK_BUILD_SOURCE_FOLDER/librewolf;
-# Build Repo and standalone bundle
-printf "\nBuilding flatpak repository and bundle\n";
-flatpak-builder --repo=$FLATPAK_REPO $_FLATPAK_BUILD_FOLDER $FLATPAK_JSON_FILE;
+# Build Repo
+printf "\nBuilding flatpak repository\n";
+cp "$FLATPAK_JSON_FILE" ./;
+flatpak-builder --disable-rofiles-fuse --repo="$FLATPAK_REPO" "$_FLATPAK_BUILD_FOLDER" io.gitlab.LibreWolf.json;
+
+# Build bundle
+printf "\nBuilding flatpak bundle\n";
flatpak build-bundle $FLATPAK_REPO $FLATPAK_BUNDLE io.gitlab.LibreWolf master;
# Clean up flatpak files
bgstack15