aboutsummaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
Diffstat (limited to 'browser')
-rw-r--r--browser/build_flatpack.sh3
-rw-r--r--browser/resources/flatpak/io.gitlab.librewolf-community32
2 files changed, 35 insertions, 0 deletions
diff --git a/browser/build_flatpack.sh b/browser/build_flatpack.sh
new file mode 100644
index 0000000..6b4a2d3
--- /dev/null
+++ b/browser/build_flatpack.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+sudo apt install flatpak-builder;
diff --git a/browser/resources/flatpak/io.gitlab.librewolf-community b/browser/resources/flatpak/io.gitlab.librewolf-community
new file mode 100644
index 0000000..55cf8b2
--- /dev/null
+++ b/browser/resources/flatpak/io.gitlab.librewolf-community
@@ -0,0 +1,32 @@
+{
+ "app-id": "io.gitlab.LibreWolf",
+ "runtime": "org.gnome.Platform",
+ "runtime-version": "3.22",
+ "sdk": "org.gnome.Sdk",
+ "command": "librewolf",
+ "finish-args": [
+ /* X11 + XShm access */
+ "--share=ipc", "--socket=x11",
+ /* Wayland access */
+ "--socket=wayland",
+ /* We want full fs access so we can read the files */
+ "--filesystem=home:rw",
+ /* Needs to talk to the network: */
+ "--share=network"
+ ],
+ "modules": [
+ {
+ "name": "librewolf",
+ "buildsystem": "simple",
+ "build-commands": [
+ "install -D hello.sh /app/bin/hello.sh"
+ ],
+ "sources": [
+ {
+ "type": "file",
+ "path": "hello.sh"
+ }
+ ]
+ }
+ ]
+}
bgstack15