From 4ae53a6d81804d817a5f14a0d25e50af908d484f Mon Sep 17 00:00:00 2001 From: Ward Date: Thu, 5 Jun 2025 00:04:57 +1200 Subject: [PATCH] Update BUILDING.md --- docs/BUILDING.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/BUILDING.md b/docs/BUILDING.md index e2f080f2..a2d15657 100644 --- a/docs/BUILDING.md +++ b/docs/BUILDING.md @@ -1,6 +1,3 @@ -## Work in Progress -This documentation is currently under development and subject to updates. - ## Building ### Web Deployment (via Docker) Materialious supports web deployment through Docker. @@ -18,8 +15,13 @@ Materialious desktop builds are handled through GitHub using [prod-desktop.yml]( - The [patch_capacitor_plugin.py](../materialious/electron/patch_capacitor_plugin.py) script removes the [Capacitor-NodeJS](https://github.com/hampoelz/Capacitor-NodeJS) plugin from the desktop build, as it's not required and currently has no better alternative. - From here, the process follows standard [electron-builder](https://www.electron.build/) steps to complete the build. -### Desktop Release (via Flatpak) -TODO +### Desktop Release (via Flathub) +- After all workflows have completed, the [prod-flatpak](https://github.com/Materialious/Materialious/blob/update/readme/.github/workflows/prod-flathub.yml) workflow runs. +- It downloads the AMD and ARM packages from the latest release. +- It computes SHA-256 hashes for both packages. +- It inserts the hashes into the Flatpak manifest. +- It automatically opens a pull request on our [Flathub repository](https://github.com/flathub/us.materialio.Materialious). + ### Android Release Android builds are handled using the workflow [prod-android.yml](../.github/workflows/prod-android.yml).