Files
2026-01-27 20:58:47 +13:00

2.6 KiB

Building

Web Deployment (via Docker)

Materialious supports web deployment through Docker.

Desktop Release (via GitHub Releases)

Materialious desktop builds are handled through GitHub using prod-desktop.yml.

  • First, the typical build steps are run: npm install and npm run build.
  • We utilize Capacitor with @capacitor-community/electron to integrate Electron into the project. The command npx cap sync @capacitor-community/electron is used to synchronize the latest build.
  • The patch_capacitor_plugin.py script removes the 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 steps to complete the build.

Desktop Release (via Flathub)

  • After all workflows have completed, the prod-flatpak 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.

Android Release

Android builds are handled using the workflow prod-android.yml.