Permalink
Browse files

Add runtime repo to Flatpak, fix #481

  • Loading branch information...
jhasse committed Dec 12, 2018
1 parent ba7a0b5 commit f7f0101e358a87c67959be66869c50a0cc1887e2
Showing with 4 additions and 2 deletions.
  1. +4 −2 install/linux/flatpak.sh
@@ -1,10 +1,12 @@
#!/bin/bash
set -eux

FLATHUB=https://flathub.org/repo/flathub.flatpakrepo

dnf upgrade -y
dnf install -y flatpak-builder git wget
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists flathub $FLATHUB
flatpak install -y flathub org.freedesktop.Platform 18.08
flatpak install -y flathub org.freedesktop.Sdk 18.08
flatpak-builder --repo=repo ./build org.wxformbuilder.wxFormBuilder.json
flatpak build-bundle repo wxformbuilder.flatpak org.wxformbuilder.wxFormBuilder
flatpak build-bundle repo wxformbuilder.flatpak org.wxformbuilder.wxFormBuilder --runtime-repo=$FLATHUB

0 comments on commit f7f0101

Please sign in to comment.