Add files for preliminary work on flatpak
This commit is contained in:
parent
a0cd6e6170
commit
bf4ba434f5
2 changed files with 35 additions and 0 deletions
3
browser/build_flatpack.sh
Normal file
3
browser/build_flatpack.sh
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sudo apt install flatpak-builder;
|
||||||
32
browser/resources/flatpak/io.gitlab.librewolf-community
Normal file
32
browser/resources/flatpak/io.gitlab.librewolf-community
Normal file
|
|
@ -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"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue