From b7ab6ee660e37e6921e99682c01ad6b771b8c39c Mon Sep 17 00:00:00 2001 From: Dovi Cowan Date: Thu, 17 Feb 2022 17:45:57 +0000 Subject: [PATCH] update README with flatpak build instructions --- README.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e8feef9..19e58bf 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,36 @@

-## Install from Github. +## Install from Github + +### With FlatPak +Install the [elementaryOS developer enviroment](https://docs.elementary.io/develop/writing-apps/the-basic-setup#developer-sdk) + +Install dependencies +``` +sudo apt install libwebkit2gtk-4.0-dev +``` + +Clone and enter repository +``` +git clone https://github.com/artemanufrij/webpin.git +cd webpin +``` + +Build with `flatpak-builder` +``` +flatpak-builder build com.github.artemanufrij.webpin.yml --user --install --force-clean +``` + +#### Debugging +[Debugging FlatPak Applications](https://docs.flatpak.org/en/latest/debugging.html) + +To enter the container +``` +flatpak run --command=sh com.github.artemanufrij.webpin +``` + +### Legacy method As first you need elementary SDK ```